0.7.0-unstable.82 • Published 5 months ago

@transmute/x25519-key-pair v0.7.0-unstable.82

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

@transmute/x25519-key-pair

npm i @transmute/x25519-key-pair@latest --save
import { X25519KeyPair } from '@transmute/x25519-key-pair';
const k = await X25519KeyPair.generate({
  secureRandom: () => {
    return Buffer.from(
      '4e61bc1918ea6a47ae3307331be7798196a1a8e7cfe4b6e8f7c9a5f36017d929',
      'hex'
    );
  },
});
const s = await k.deriveSecret({
  publicKey: await k.export({ type: 'JsonWebKey2020', privateKey: false }),
});
0.7.0-unstable.82

5 months ago

0.7.0-unstable.81

11 months ago

0.7.0-unstable.9

3 years ago

0.7.0-unstable.8

3 years ago

0.7.0-unstable.7

3 years ago

0.7.0-unstable.6

3 years ago

0.7.0-unstable.5

3 years ago

0.7.0-unstable.4

3 years ago

0.7.0-unstable.3

3 years ago

0.7.0-unstable.2

3 years ago

0.7.0-unstable.1

3 years ago

0.7.0-unstable.0

3 years ago