openresty / openresty/lua-resty-string
aes.lua with aes.js
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 443
- Forks
- 143
- Avg merge
- 2h 31m
- Merged PRs (30d)
- 1
Description
Hi,
I'm try to use aes.lua with aes.js
I see the default configure is
local aes_128_cbc_md5 = aes:new("AKeyForAES")
-- the default cipher is AES 128 CBC with 1 round of MD5
-- for the key and a nil salt
what is the mean?
I know aes 128 Secret Key length must be 16
so need get md5 of the given password "AKeyForAES"?
1 round of MD5 mean just md5(password)?
if 2 round of MD5 shoule be md5(md5(password)) ?
Thank you very much
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.
Research direction
Start with the aes.lua example containing aes:new("AKeyForAES") and compare its description with the AES-128-CBC usage in aes.js. Clarify the meanings of “1 round of MD5,” repeated rounds, and a nil salt; done when the example explains the key derivation unambiguously.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, lua
- Domain
- cryptography
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100