예제 #1
0
        public void GeneratePublicKeys()
        {
            int[] one = { 1 };

            P = ng.GetP(1024);
            A = ng.GetRandomNumberSmallerThan(MathOperations.BitsSubstraction(P, one));
            G = ng.GetCoprimeInteger(P);
            B = GenerateB();
        }