28.08.2024, 16:11 | #1 |
Участник
|
a33ik: MD5 hashing
Источник: http://daxonline.org/1964-md5-hashing.html
============== str signature = 'some string';System.Byte[] byteArray = System.Text.Encoding::get_UTF8().GetBytes(signature);System.IO.MemoryStream stream = new System.IO.MemoryStream(byteArray);System.Security.Cryptography.MD5 md5 = System.Security.Cryptography.MD5::Create();byteArray = md5.ComputeHash(stream);signature = System.Text.Encoding::get_UTF8().GetString(byteArray); Источник: http://daxonline.org/1964-md5-hashing.html |
|
|
|