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

Two Questions #526

Open
hirasso opened this issue Aug 2, 2024 · 0 comments
Open

Two Questions #526

hirasso opened this issue Aug 2, 2024 · 0 comments

Comments

@hirasso
Copy link

hirasso commented Aug 2, 2024

Hi there! Thanks for all the work you put into this library, both technical and educational. Much appreciated!!

After reading through the Tutorial and the FAQs, I have two questions (I would have opened a GH discussion, but this repo doesn't seem to have those activated):

  1. In the FAQs, Does encrypting hide the length of the plaintext?, you are writing about having to pad the string in user land:
  • Any tips or best practices how to do that with an arbitrary length input string?
  1. In Scenario #2: Encrypting account data with the user's login password, you are talking about generating the key from the user's password.
  • This would render the stored information useless as soon as the user changed their password, correct? Just to make sure I understand correctly :)
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