UNPKG

openpgp

Version:

OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.

29 lines (26 loc) 733 B
/** * @fileoverview Asymmetric cryptography functions * @requires tweetnacl * @requires crypto/public_key/dsa * @requires crypto/public_key/elgamal * @requires crypto/public_key/elliptic * @requires crypto/public_key/rsa * @module crypto/public_key */ import nacl from 'tweetnacl/nacl-fast-light.js'; import rsa from './rsa'; import elgamal from './elgamal'; import elliptic from './elliptic'; import dsa from './dsa'; export default { /** @see module:crypto/public_key/rsa */ rsa: rsa, /** @see module:crypto/public_key/elgamal */ elgamal: elgamal, /** @see module:crypto/public_key/elliptic */ elliptic: elliptic, /** @see module:crypto/public_key/dsa */ dsa: dsa, /** @see tweetnacl */ nacl: nacl };