私は md5 ハッシュを取得しようとしています:
String clearKey = "test";
IBuffer buffEntry = CryptographicBuffer.ConvertStringToBinary(clearKey, BinaryStringEncoding.Utf8);
HashAlgorithmProvider algProvider = HashAlgorithmProvider.OpenAlgorithm(HashAlgorithmNames.Md5);
IBuffer buffHashed = algProvider.HashData(buffEntry);
byte[] bytesKey;
CryptographicBuffer.CopyToByteArray(buffHashed, out bytesKey);
Debug.WriteLine(String.Format("bytesKey lenght : {0}", bytesKey.Length));
結果のサイズが 16 バイトになるのはなぜですか? 従来の 32 バイトの結果を取得するには?
ご協力ありがとうございました、