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

KeyGenerator provides 512 bit long key, not 256 bit. #38

Open
pled76 opened this issue Oct 24, 2023 · 2 comments
Open

KeyGenerator provides 512 bit long key, not 256 bit. #38

pled76 opened this issue Oct 24, 2023 · 2 comments

Comments

@pled76
Copy link

pled76 commented Oct 24, 2023

The result is encrypt and decrypt not working raising errors of not matching functions because of guards bit_size(256).

@pablopen
Copy link

pablopen commented Apr 2, 2024

I've found a similar issue when this library was used with Plug.Session.COOKIE :key_length of 64. Also commented there, in case is of any help to you or future visitors

elixir-plug/plug#1184

@grzuy
Copy link
Contributor

grzuy commented Apr 2, 2024

Related thread ae684cd#r130774062

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

3 participants