示例#1
0
 internal LiteHash(string hashAlgorithmId)
 {
     _provider        = HashProviderDispenser.CreateHashProvider(hashAlgorithmId);
     _hashSizeInBytes = _provider.HashSizeInBytes;
 }
示例#2
0
文件: MD5.cs 项目: yuekunge/corefx
 public Implementation()
 {
     _hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.MD5);
 }
示例#3
0
 public Implementation()
 {
     _hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.MD5);
     HashSizeValue = _hashProvider.HashSizeInBytes * 8;
 }
示例#4
0
 public SHA512Managed()
 {
     _hashProvider = HashProviderDispenser.CreateHashProvider(HashAlgorithmNames.SHA512);
     HashSizeValue = _hashProvider.HashSizeInBytes * 8;
 }