devolutions-crypto 0.9.2

An abstraction layer for the cryptography used by Devolutions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Devolutions.Cryptography
{
    /// <summary>
    /// The interface for legacy decryptors.
    /// </summary>
    public interface ILegacyDecryptor
    {
        /// <summary>
        /// Decrypt function for legacy decryptors.
        /// </summary>
        /// <param name="data">The data to decrypt.</param>
        /// <param name="key">The key to use for decryption.</param>
        /// <returns>Returns the decryption result.</returns>
        byte[] Decrypt(byte[] data, byte[] key);
    }
}