mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
9 lines
204 B
V
9 lines
204 B
V
import crypto.blowfish
|
|
import encoding.base64
|
|
|
|
fn test_crypto_blowfish() {
|
|
key := 'password'.bytes()
|
|
csalt := base64.decode('an2da3dn')
|
|
bf := blowfish.new_salted_cipher(key, csalt) or { panic(err) }
|
|
}
|