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 :
|
function _M.new(self, key, salt, _cipher, _hash, hash_rounds, iv_len, enable_padding) |
Thank you~
Hi~
I am reading python code about
Crypto.Cipherin website: https://www.pycryptodome.org/src/cipher/classic#ctr-modeI found the
newfunction defined toCrypto.Cipher.<algorithm>.new(key, mode, *, nonce=None, initial_value=None, counter=None)Is the
initial_valuemeans thesaltin :lua-resty-string/lib/resty/aes.lua
Line 120 in 78e5020
Thank you~