Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aes.lua with aes.js #63

Open
louishot opened this issue Oct 30, 2018 · 0 comments
Open

aes.lua with aes.js #63

louishot opened this issue Oct 30, 2018 · 0 comments

Comments

@louishot
Copy link

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

@louishot louishot changed the title aes.lua local aes_128_cbc_md5 aes.lua with aes.js Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant