public byte[] Decrypt(byte[] input) { int len = input.Length; byte[] output = new byte[len]; NativeEncryption.BlowfishDecrypt(ref obj, input, output, len); return(output); }
public byte[] Decrypt(byte[] input, int len) { if (input.Length < len) { throw new ArgumentOutOfRangeException("len", "Requested data lenght is larger than specified buffer."); } byte[] output = new byte[len]; NativeEncryption.BlowfishDecrypt(ref obj, input, output, len); return(output); }