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>
    /// Interface for legacy hashers.
    /// </summary>
    public interface ILegacyHasher
    {
        /// <summary>
        /// The method to verify passwords for legacy hashers.
        /// </summary>
        /// <param name="password">The password.</param>
        /// <param name="hash">The hash to validate against.</param>
        /// <returns>The validation result.</returns>
        bool VerifyPassword(byte[] password, byte[] hash);
    }
}