zephinzer/authasher

View on GitHub

Showing 2 of 2 total issues

Function validate has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    validate: function(challengeKey, storedKeyWrapper, _options) {
        var options = utility.generateDefaultOptions(_options || {});
        options.timeValidity = options.timeValidity;

        var passwordSections, lengthSegments, saltLength, hashLength, dateLength, hashSegments, saltAndSaltedHash,
Severity: Minor
Found in index.js - About 1 hr to fix

    Function generatedSaltedHash has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        generatedSaltedHash: function(password, salt, iterations, keyLength, hashingFunction, outputEncoding) {
    Severity: Minor
    Found in components/utility.js - About 45 mins to fix
      Severity
      Category
      Status
      Source
      Language