Пример #1
0
        public HabboEncryptionHandlerV1(RsaKeyHolder keys)
        {
            this.DiffieHellman = new DiffieHellman();

            this.Rsa = RsaKey.ParsePrivateKey(keys.N, keys.E, keys.D);

            this.Rc4 = new ARC4();

            this.Initialized = false;
        }
Пример #2
0
 public static void Initialize(RsaKeyHolder keys)
 {
     Rsa           = RsaKey.ParsePrivateKey(keys.N, keys.E, keys.D);
     DiffieHellman = new DiffieHellman();
 }