openresty / openresty/lua-resty-string
why the result is wrong
Open
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 443
- Forks
- 143
- Avg merge
- 2h 31m
- Merged PRs (30d)
- 1
Description
when I use 128_ecb, first encrypt the content, then base64, why the result is wrong, is it exist a bug that it default use md5 to encode the key then use to encrypt? I just want to use the origin key
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 by reproducing the reported 128_ecb encryption and Base64 flow, then inspect how the key is processed before encryption. Confirm whether the implementation hashes the key with MD5 or uses the original key, and document or correct the behavior so the result matches the intended key handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- cryptography
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100