Bones/node_modules/jodid25519/index.js
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00

36 lines
805 B
JavaScript

"use strict";
/*
* Copyright (c) 2014 Mega Limited
* under the MIT License.
*
* Authors: Guy K. Kloss
*
* You should have received a copy of the license along with this program.
*/
var dh = require('./lib/dh');
var eddsa = require('./lib/eddsa');
var curve255 = require('./lib/curve255');
var utils = require('./lib/utils');
/**
* @exports jodid25519
* Curve 25519-based cryptography collection.
*
* @description
* EC Diffie-Hellman (ECDH) based on Curve25519 and digital signatures
* (EdDSA) based on Ed25519.
*/
var ns = {};
/** Module version indicator as string (format: [major.minor.patch]). */
ns.VERSION = '0.7.1';
ns.dh = dh;
ns.eddsa = eddsa;
ns.curve255 = curve255;
ns.utils = utils;
module.exports = ns;