| "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; |