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

Encryption #108

Merged
merged 2 commits into from
Oct 9, 2020
Merged

Encryption #108

merged 2 commits into from
Oct 9, 2020

Conversation

aaronzshey
Copy link
Contributor

@aaronzshey aaronzshey commented Oct 9, 2020

Adding ./src/utils/encrypt.js. Information can be encrypted using encrypt(text) (returns an array) and then decrypted using decrypt(arr) (returns a human-readable string).

Key and IV are currently blank - @tomassirio should put encryption keys in the .env file. The key needs to be 32 characters long, and the IV needs to be 16 characters long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants