StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
.. | ||
test | 4 years ago | |
.travis.yml | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
bin.js | 4 years ago | |
browserify.js | 4 years ago | |
hash.js | 4 years ago | |
hexpp.js | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years ago | |
sha1.js | 4 years ago | |
sha256.js | 4 years ago | |
sha512.js | 4 years ago |
README.md
sha.js
Streamable SHA1 hash in pure javascript.
Example
var createHash = require('sha.js')
var sha1 = createHash('sha1')
var sha256 = createHash('sha256')
var sha512 = createHash'sha512')
var h = sha1.update('abc', 'utf8').digest('hex')
console.log(h) //a9993e364706816aba3e25717850c26c9cd0d89d
supported hashes
sha.js currently implements:
- sha1
- sha256
- sha512
Note
Note, this doesn't actually implement a stream, but wrapping this in a stream is trivial. but is does update incrementally, so you can hash things larger than ram, and also, since it reuses the typedarrays, it uses a constant amount of memory (except when using base64 or utf8 encoding, see code comments)
Acknowledgements
This work is derived from Paul Johnston's ["A JavaScript implementation of the Secure Hash Algorithm"] (http://pajhome.org.uk/crypt/md5/sha1.html)
License
MIT