How to use the jsbn/lib/sha1.fromArray function in jsbn

To help you get started, we’ve selected a few jsbn examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wowserhq / wowser / src / lib / crypto / hash / sha1.js View on Github external
finalize() {
    this._digest = SHA1Base.fromArray(this._data.toArray());
  }
github wowserhq / wowser / lib / client / crypto / hash / sha1.js View on Github external
value: function finalize() {
      this._digest = SHA1Base.fromArray(this._data.toArray());
    }
  }]);

jsbn

The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers.

MIT
Latest version published 7 years ago

Package Health Score

67 / 100
Full package analysis