Skip to content

help: Is the option salt in new function in aes.lua file mean initialization value? #90

@ccxhwmy

Description

@ccxhwmy

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~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions