Class HashingServiceExtensions
Extension methods for IHashingService.
Inheritance
System.Object
HashingServiceExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Cryptography
Assembly: Kephas.Core.dll
Syntax
public static class HashingServiceExtensions
Methods
| Improve this Doc View SourceHash(IHashingService, String, IHashingContext)
Hashes the value with the optionally provided string.
Declaration
public static byte[] Hash(this IHashingService hashingService, string value, IHashingContext hashingContext = null)
Parameters
Type | Name | Description |
---|---|---|
IHashingService | hashingService | The hashingService to act on. |
System.String | value | The value to be hashed. |
IHashingContext | hashingContext | Optional. Context for the hashing. |
Returns
Type | Description |
---|---|
System.Byte[] | The hashed value. |