The missing crypto module for Node.js. Bcrypto provides you with a consistent
interface across Node.js and the browser. It is implemented as a Node.js
addon for C libraries libtorsion and
libsecp256k1 with corresponding implementations in JavaScript.
See the ./lib directory for available modules and APIs.
Implementations
nodejs (linux)
nodejs (macos)
nodejs (win)
browser
aead
c (libtorsion¹)
c (libtorsion¹)
c (libtorsion)
js
aes
c (libtorsion)
c (libtorsion)
c (libtorsion)
js
bcrypt
c (libtorsion)
c (libtorsion)
c (libtorsion)
js
blake2b{160,256,384,512}
c (libtorsion)
c (libtorsion)
c (libtorsion)
js
blake2s{128,160,224,256}
c (libtorsion)
Footnotes
with x86-64 assembly
optionally with libtorsion
using the webcrypto api
Contribution and License Agreement
If you contribute code to this project, you are implicitly allowing your code
to be distributed under the MIT license. You are also implicitly verifying that
all code is your original work. </legalese>
License
Copyright (c) 2017-2019, Christopher Jeffrey (MIT License).