Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chris-rock/node-crypto-examples
Collection of nodejs crypto examples
https://github.com/chris-rock/node-crypto-examples
Last synced: 5 days ago
JSON representation
Collection of nodejs crypto examples
- Host: GitHub
- URL: https://github.com/chris-rock/node-crypto-examples
- Owner: chris-rock
- License: mit
- Created: 2015-02-13T11:29:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-09T22:15:44.000Z (over 7 years ago)
- Last Synced: 2024-11-28T09:11:34.652Z (25 days ago)
- Language: JavaScript
- Homepage: http://lollyrock.com/articles/nodejs-encryption/
- Size: 4.88 KB
- Stars: 253
- Watchers: 7
- Forks: 77
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-crypto-examples
This repository is a collection of various scripts that illustrate the use of [crypto](http://nodejs.org/api/crypto.html) 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](https://github.com/chris-rock/node-crypto-examples/blob/master/crypto-ctr.js)
* [Encrypt and decrypt buffers](https://github.com/chris-rock/node-crypto-examples/blob/master/crypto-buffer.js)
* [Encrypt and decrypt streams](https://github.com/chris-rock/node-crypto-examples/blob/master/crypto-stream.js)
* [Use GCM for authenticated encryption](https://github.com/chris-rock/node-crypto-examples/blob/master/crypto-gcm.js)
* [SHA 512 generation](https://github.com/chris-rock/node-crypto-examples/blob/master/sha-text.js)
* [SHA 512 and streams](https://github.com/chris-rock/node-crypto-examples/blob/master/sha-stream.js)References:
* More details about the crypto examples are described at [Encrypt and decrypt content with Nodejs](http://lollyrock.com/articles/nodejs-encryption/).
* [SHA 512 Hashs with nodejs](http://lollyrock.com/articles/nodejs-sha512/)## Contributing
1. Fork it ( https://github.com/chris-rock/node-encryption-examples/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## Author
- Author: Christoph Hartmann
## Licence
MIT