help: Is the option `salt` in `new` function in `aes.lua` file mean initialization value?
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- lua
- Domain
- cryptography
Research direction
Start with lib/resty/aes.lua at line 120 and compare the option's documented behavior with PyCryptodome's CTR-mode documentation. Done means clarifying whether salt corresponds to initial_value, with the explanation recorded in the appropriate project documentation or issue response.
Written by the indexing model from the issue text.
Description
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~
- Dominant language
- Lua
- Stars
- 443
- Forks
- 143
- Avg merge
- 2h 31m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openresty/lua-resty-string
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
openresty/lua-resty-string#109 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
openresty/lua-resty-string#95 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
openresty/lua-resty-string#92 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
openresty/lua-resty-string#91 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
All issues in openresty/lua-resty-string
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
api7/lua-resty-saml#62 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nvim-tree/nvim-tree.lua#3357 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
codymikol/multiverse.nvim#320 ·
-
Data Correction tbc
Difficulty 2/5 1-3 hours Newbie friendliness 68/100