UNPKG

ara-crypto

Version:

Cryptographic functions used in Ara modules

10 lines (8 loc) 244 B
const { keyPair } = require('../key-pair') const ed25519 = require('../ed25519') const test = require('./helpers/runner') test.cb('keyPair()', (t) => { t.true('function' === typeof keyPair) t.true(keyPair === ed25519.keyPair) t.end() })