Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

aes.lua with aes.js

Open
#63 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, lua
Domain
cryptography

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.

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

Dominant language
Lua
Stars
443
Forks
143
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openresty/lua-resty-string

All issues in openresty/lua-resty-string

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.