code: function cmd_verify_password(args, done) {
      seneca.act(
        {
          role: role,
          cmd: 'encrypt_password',
          whence: 'verify_password/user=' + user.id + ',' + user.nick,
          password: args.proposed,
          salt: args.salt
        },
        function(err, out) {
          if (err) {
            return done(err)
          }
          if (!out.ok) {
            return done(err, out)
          }
  
          var pass = out.pass
  
          var ok = pass === args.pass
  
          // for backwards compatibility with <= 0.2.3
          if (!ok && options.oldsha) {
            var shasum = Crypto.createHash('sha1')
            shasum.update(args.proposed + args.salt)
            pass = shasum.digest('hex')
  
            ok = pass === args.pass
            return done(null, { ok: ok })
          } else return done(null, { ok: ok })
        }
      )
    }
docs: Verify proposed password is correct, redoing SHA512 rounds - proposed: trial password string - pass:     password hash - salt:     password salt Provides: {ok:}