mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make array.hex() use lowercase
This commit is contained in:

committed by
Alexander Medvednikov

parent
15c5f671f0
commit
bfddb9a80f
@ -5,5 +5,5 @@
|
||||
import crypto.sha512
|
||||
|
||||
fn test_crypto_sha512() {
|
||||
assert sha512.sum512('This is a sha512 checksum.'.bytes()).hex() == '4143E55FCBA7E39B20F62A1368E5EB28F64A8859458886117AC66027832E0F9F5263DAEC688C439D2D0FA07059334668D39E59543039703DBB7E03EC9DA7F8D7'
|
||||
assert sha512.sum512('This is a sha512 checksum.'.bytes()).hex() == '4143e55fcba7e39b20f62a1368e5eb28f64a8859458886117ac66027832e0f9f5263daec688c439d2d0fa07059334668d39e59543039703dbb7e03ec9da7f8d7'
|
||||
}
|
||||
|
Reference in New Issue
Block a user