lua-resty-string
lua-resty-string copied to clipboard
help: Is the option `salt` in `new` function in `aes.lua` file mean initialization value?
Hi~
I am reading python code about Crypto.Cipher
in website: https://www.pycryptodome.org/src/cipher/classic#ctr-mode
I found the new
function defined to Crypto.Cipher.<algorithm>.new(key, mode, *, nonce=None, initial_value=None, counter=None)
Is the initial_value
means the salt
in :
https://github.com/openresty/lua-resty-string/blob/78e5020229718c557484191c891a68097907d818/lib/resty/aes.lua#L120
Thank you~