public long Handshake(EncryptionSubject other) { var key = 1L; for (var i = 0; i < _loopSize; i++) { key = Transform(key, other.PublicKey); } return(key); }
public Solution(long publicKey1, long publicKey2) { _card = new EncryptionSubject(publicKey1); _door = new EncryptionSubject(publicKey2); }