I'm converting an asp.net 1.1 app to 2.0 and am having difficulty
determining why ASCIIEncoding.G etString returns a different value in
..NET 2.0 than 1.1. The code is simple but I can't locate the problem.
If someone could point out my oversight, I'd greatly appreciate it.
Thanks in advance!
Dim md5Hasher As New MD5CryptoServic eProvider
Dim encoder As New ASCIIEncoding
Dim strHashedBytes As Byte() =
md5Hasher.Compu teHash(encoder. GetBytes(SOMEST RING))
Return encoder.GetStri ng(strHashedByt es)
determining why ASCIIEncoding.G etString returns a different value in
..NET 2.0 than 1.1. The code is simple but I can't locate the problem.
If someone could point out my oversight, I'd greatly appreciate it.
Thanks in advance!
Dim md5Hasher As New MD5CryptoServic eProvider
Dim encoder As New ASCIIEncoding
Dim strHashedBytes As Byte() =
md5Hasher.Compu teHash(encoder. GetBytes(SOMEST RING))
Return encoder.GetStri ng(strHashedByt es)
Comment