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

encrypt with a given key #33

Open
ElenaBerettaVu opened this issue Dec 9, 2021 · 1 comment
Open

encrypt with a given key #33

ElenaBerettaVu opened this issue Dec 9, 2021 · 1 comment

Comments

@ElenaBerettaVu
Copy link

Is there a way to encrypt files with a known key and not a randomly generated one?

@dirkschumacher
Copy link
Owner

You can use the key parameter to pass a custom key. But the key needs to be at least 32 bytes.

It could be possible to use a custom user generated password, but before that we would need to implement password hashing on the client side as well. Otherwise this is just not secure enough.

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

2 participants