Interface IHashingService
Application service contract for hashing.
Namespace: Kephas.Cryptography
Assembly: Kephas.Core.dll
Syntax
[SingletonAppServiceContract]
public interface IHashingServiceMethods
| Improve this Doc View SourceHash(Byte[], IHashingContext)
Hashes the value with the optionally provided string.
Declaration
byte[] Hash(byte[] value, IHashingContext hashingContext = null)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Byte[] | value | The value to be hashed. | 
| IHashingContext | hashingContext | Optional. Context for the hashing. | 
Returns
| Type | Description | 
|---|---|
| System.Byte[] | The hashed value. |