blob: e1c4eb00a2f39cb0a25f6f8ec75b1c2e7351f240 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.Core.Cryptography
{
/// <summary>
/// Represents a hashing generator.
/// </summary>
public interface IHashGenerator : IEncryptor
{
/// <summary>
/// Validates the specified text against the specified hash.
/// </summary>
/// <param name="text">The text.</param>
/// <param name="hash">The hash.</param>
bool Validate(String text, String hash);
}
}
|