dotfiles/.vscode/extensions/saviorisdead.RustyCode-0.18.0/node_modules/jodid25519/index.js

36 lines
805 B
JavaScript
Raw Normal View History

2016-09-11 09:29:13 +01:00
"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;