How to use the js-sha256/build/sha256.min.js.sha256 function in js-sha256

To help you get started, we’ve selected a few js-sha256 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 b0r3d0m / mafen / web / client / scripts / services / mafenSession.js View on Github external
this.login = function(username, password) {
      action: 'connect',
      data: {
        username: username,
        password: jsSHA256.sha256(password)
    return that.loginDeferred.promise;