@hyperledger/aries-askar-nodejs v0.2.3
Aries Askar NodeJS
Wrapper for Nodejs around Aries Askar
Requirements
This library requires (and has been tested extensively with) Node.js version 18.x. Newer versions might also work, but they have not been tested.
Installation
yarn add @hyperledger/aries-askar-nodejsSetup
You can import all types and classes from the @hyperledger/aries-askar-nodejs library:
import { Key, KeyAlgs } from '@hyperledger/aries-askar-nodejs'
const seed = Uint8Array.from(Buffer.from('testseed000000000000000000000001'))
const key = Key.fromSeed({ algorithm: KeyAlgs.Bls12381G1, seed })Note: If you want to use this library in a cross-platform environment you need to import methods from the
@hyperledger/aries-askar-sharedpackage instead. This is a platform independent package that allows to register the native bindings. The@hyperledger/aries-askar-nodejspackage uses this package under the hood. See the Aries Askar Shared README for documentation on how to use this package.
Version Compatibility
The JavaScript wrapper is versioned independently from the native bindings. The following table shows the compatibility between the different versions:
| Aries Askar | JavaScript Wrapper |
|---|---|
| v0.2.9 | v0.1.0, v0.1.1 |
| v0.3.1 | v0.2.0 |
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago