protected Encryption(byte[] secretKey, byte[] utilitykey, IEncryptBehavior encryptBiavior, IDecryptBehavior decryptBiavior) { SecretKey = new BinaryKey(secretKey); UtilityKey = new BinaryKey(utilitykey); _encryptBiavior = encryptBiavior; _decryptBiavior = decryptBiavior; }
protected Encryption(ISecretKey secretKey, IUtilityKey utilityKey, IEncryptBehavior encryptBiavior, IDecryptBehavior decryptBiavior) { SecretKey = secretKey; UtilityKey = utilityKey; _encryptBiavior = encryptBiavior; _decryptBiavior = decryptBiavior; }