Exemple #1
0
 internal LiteHash(string hashAlgorithmId)
 {
     _provider        = HashProviderDispenser.CreateHashProvider(hashAlgorithmId);
     _hashSizeInBytes = _provider.HashSizeInBytes;
 }
Exemple #2
0
 public Implementation()
 {
     _hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.MD5);
 }
Exemple #3
0
 public Implementation()
 {
     _hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.MD5);
     HashSizeValue = _hashProvider.HashSizeInBytes * 8;
 }
Exemple #4
0
 public SHA512Managed()
 {
     _hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA512);
     HashSizeValue = _hashProvider.HashSizeInBytes * 8;
 }