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 module #132

Open
Richienb opened this issue Sep 14, 2021 · 3 comments
Open

Encryption module #132

Richienb opened this issue Sep 14, 2021 · 3 comments

Comments

@Richienb
Copy link

Like crypto-hash but implements encryption and decryption rather than hashing. There appears to be encryption APIs built-in to browsers as well as Node.js so it would be useful to access them in an easy way.

@Richienb
Copy link
Author

So that means the only thing that needs to be done is importing the API in the environment-specific way and making it easier? to use.

@sindresorhus
Copy link
Owner

I assume that when the module is no longer experimental, they'll make the APIs globals, like in the browser.

Making them easier to use sounds nice in theory, but you need to know what you're doing. You might as well make it worse and potentially introduce security issues. Be careful if you decide to do this.

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