ci: fix `./v check-md -hide-warnings .`
parent
840f474fb5
commit
375361b787
|
@ -31,12 +31,12 @@ fn main() {
|
||||||
cipher := aes.new_cipher(key)
|
cipher := aes.new_cipher(key)
|
||||||
|
|
||||||
println('performing encryption')
|
println('performing encryption')
|
||||||
mut encrypted := []byte{len: aes.block_size}
|
mut encrypted := []u8{len: aes.block_size}
|
||||||
cipher.encrypt(mut encrypted, data)
|
cipher.encrypt(mut encrypted, data)
|
||||||
println(encrypted)
|
println(encrypted)
|
||||||
|
|
||||||
println('performing decryption')
|
println('performing decryption')
|
||||||
mut decrypted := []byte{len: aes.block_size}
|
mut decrypted := []u8{len: aes.block_size}
|
||||||
cipher.decrypt(mut decrypted, encrypted)
|
cipher.decrypt(mut decrypted, encrypted)
|
||||||
println(decrypted)
|
println(decrypted)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue