Class CryptoUtilFactory
public static class CryptoUtilFactory
- Inheritance
-
CryptoUtilFactory
- Inherited Members
Properties
CryptoInstance
public static ICryptoUtil CryptoInstance { get; }
Property Value
Methods
GetChecksumBase64Length(CoreChecksumAlgorithm)
Returns the length of the base64 encoded checksum of the specifed hashing algorithm
public static int GetChecksumBase64Length(CoreChecksumAlgorithm algorithm)
Parameters
algorithm
CoreChecksumAlgorithmHashing algorithm
Returns
- int
Length of the base64 encoded checksum
GetChecksumInstance(CoreChecksumAlgorithm)
Returns a new instance of the specified hashing algorithm
public static HashAlgorithm GetChecksumInstance(CoreChecksumAlgorithm algorithm)
Parameters
algorithm
CoreChecksumAlgorithmHashing algorithm to instantiate
Returns
- HashAlgorithm
New instance of the given algorithm