Blame view

node_modules/jodid25519/index.js 805 Bytes
f7563de62   Palak Handa   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  "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;