This repository is a collection of various scripts that illustrate the use of crypto with nodejs. The goal of this repository is to ease the start and to enable a quick start for developers.
Currently the collections includes:
- Encrypt and decrypt text
- Encrypt and decrypt buffers
- Encrypt and decrypt streams
- Use GCM for authenticated encryption
- SHA 512 generation
- SHA 512 and streams
References:
- More details about the crypto examples are described at Encrypt and decrypt content with Nodejs.
- SHA 512 Hashs with nodejs
- Fork it ( https://github.com/chris-rock/node-encryption-examples/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- Author: Christoph Hartmann chris@lollyrock.com
MIT