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.sha256
|
||||
|
||||
fn test_crypto_sha256() {
|
||||
assert sha256.sum('This is a sha256 checksum.'.bytes()).hex() == 'DC7163299659529EAE29683EB1FFEC50D6C8FC7275ECB10C145FDE0E125B8727'
|
||||
assert sha256.sum('This is a sha256 checksum.'.bytes()).hex() == 'dc7163299659529eae29683eb1ffec50d6c8fc7275ecb10c145fde0e125b8727'
|
||||
}
|
||||
|
Reference in New Issue
Block a user