mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
8 lines
204 B
V
8 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) }
|
|
}
|