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 data #112

Open
turgs opened this issue Jan 19, 2018 · 3 comments
Open

encrypt data #112

turgs opened this issue Jan 19, 2018 · 3 comments

Comments

@turgs
Copy link

turgs commented Jan 19, 2018

Hello

Is there a way I can encrypt data before it's stored?

I'd like to pass a string per element, and that be used to encrypt and decrypt. That way, it someone's using a public computer, data isn't as exposed once they logout and leave.

Thanks
Tim

@guillaumepotier
Copy link
Owner

Hi there, this could be a nice feature, but unfortunately this is not built-in yet.

It should be possible by creating a module that ships a bijective encryption method (aes ?) in javascript and give the private key to Garlic on booting.

Feel free to implement that and submit a PR if you have time to do so (not my case unfortunately)

Best

@BrunoRB
Copy link

BrunoRB commented Sep 28, 2018

I think encryption is a bit overkill. Simply having an option to use SessionStorage (as suggested in #115) would solve the problem of exposing data from different users.

@joshuaquek
Copy link

Oh hey there, five months ago I developed this package that does decryption and encryption natively in Nodejs. Kind of a wrapper package that makes RSA Keypair encryption and encryption easier in terms of coding syntax:

https://github.com/joshuaquek/QuickEncrypt
https://www.npmjs.com/package/quick-encrypt

Not sure if it might be of help to you guys here haha!

It takes around 2-4 seconds to do the encryption and decryption, depending on your machine's speed

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

4 participants