- Added support for Node 21 by request. We don't normally support non-LTS Node versions, and this will be dropped when Node drops maintenance support for it.
- Removed support for Node 14.
- Added support for Node 20.
- Added support for aarch64-linux-glibc and aarch64-linux-musl.
None
- Automation fixes.
None
- Added Node 18.
- Build aarch64-apple-darwin natively.
None
- Initial support for aarch64-apple-darwin via cross-compile.
None
- Initial (non-working) support for aarch64-apple-darwin.
- Removed support for Node 10.
- Added support for Node 16.
- Upgraded Recrypt to 0.13
- Upgraded to Neon's NAPI interface.
None
- Added support for Node 14.
- Updated all JS and Rust library dependencies
- Added support for Node 10/12 on Windows
- Removed support for Node 8.
- Added method
addPrivateKeys(privKeyA: PrivateKey, privKeyB: PrivateKey): PrivateKey
which takes two private keys and adds them together to return a new private key. - Added method
subtractPrivateKeys(privKeyA: PrivateKey, privKeyB: PrivateKey): PrivateKey
which takes two private keys and subtractsprivKeyB
fromprivKeyA
to return a new private key.
None
Updated to latest version of recrypt-rs
.
- Added binaries dynamically linked to musl-libc to support Alpine Linux
None
None
- Depend on official release of Neon 0.3.
- Added support for Node 12
- Removed support for Node 9 and 11
- Removed the
hash256
method from the API. Use thederiveSymmetricKey
method instead.
- Updated all dependencies to their latest versions, including Recrypt to 0.8.
None
None
- Added support to build artifacts for Node 9 and Node 11.
Api256.hash256(hashable_buffer: Buffer): Buffer;
Note that the returnedBuffer
will always be exactly 32 bytes.
- Renamed the
transformKeyToBytes
method totransformKeyToBytes256
to specify that it only works with 256 bit TransformKeys. - Removed incorrect empty array from TransformKey objects.
None
- Added
engines
,os
, andcpu
keys topackage.json
to specify which Node version and architectures this library will work on.
- The
Api256.encrypt
,Api256.generateTransformKey
,Api256.transform
functions now only take a private signing key and no longer need to provide a public signing key.
- Added new
transformKeyToBytes
top level method to convert aTransformKey
object into a Buffer in a consistent order. Useful for being able to sign over the bytes of aTransformKey
.
- Updated to
recrypt-rs
0.3.0.
None
- Added methods for Schnorr signing.
Api256::schnorrSign(privateKey: Buffer, publicKey: PublicKey, message: Buffer): Signature;
Api256::schnorrVerify(publicKey: PublicKey, augmentedPrivateKey: Buffer | undefined, message: Buffer, signature: Signature): boolean;
- Exposed methods to perform ed25519 signing and verification as well as method to compute an ed25519 public key given it's matching private key.
Api256::ed25519Sign(privateKey: PrivateSigningKey, message: Buffer): Signature;
Api256::ed25519Verify(publicKey: PublicSigningKey, message: Buffer, signature: Signature): boolean;
Api256::computeEd25519PublicKey(privateKey: PrivateSigningKey): PublicSigningKey;
- Consumed changes from
recrypt-rs
(#1) to zero secret bytes after use - Moved
benchmark
andtest
repos to the root of the repo
Initial open source release