1 line
1.8 KiB
JSON
1 line
1.8 KiB
JSON
{"ast":null,"code":"var exports = module.exports = function SHA(algorithm) {\n algorithm = algorithm.toLowerCase();\n var Algorithm = exports[algorithm];\n if (!Algorithm) throw new Error(algorithm + ' is not supported (we accept pull requests)');\n return new Algorithm();\n};\n\nexports.sha = require('./sha');\nexports.sha1 = require('./sha1');\nexports.sha224 = require('./sha224');\nexports.sha256 = require('./sha256');\nexports.sha384 = require('./sha384');\nexports.sha512 = require('./sha512');","map":{"version":3,"sources":["/Users/tylerkoenig/Code/personal/react-scss2/node_modules/sha.js/index.js"],"names":["exports","module","SHA","algorithm","toLowerCase","Algorithm","Error","sha","require","sha1","sha224","sha256","sha384","sha512"],"mappings":"AAAA,IAAIA,OAAO,GAAGC,MAAM,CAACD,OAAP,GAAiB,SAASE,GAAT,CAAcC,SAAd,EAAyB;AACtDA,EAAAA,SAAS,GAAGA,SAAS,CAACC,WAAV,EAAZ;AAEA,MAAIC,SAAS,GAAGL,OAAO,CAACG,SAAD,CAAvB;AACA,MAAI,CAACE,SAAL,EAAgB,MAAM,IAAIC,KAAJ,CAAUH,SAAS,GAAG,6CAAtB,CAAN;AAEhB,SAAO,IAAIE,SAAJ,EAAP;AACD,CAPD;;AASAL,OAAO,CAACO,GAAR,GAAcC,OAAO,CAAC,OAAD,CAArB;AACAR,OAAO,CAACS,IAAR,GAAeD,OAAO,CAAC,QAAD,CAAtB;AACAR,OAAO,CAACU,MAAR,GAAiBF,OAAO,CAAC,UAAD,CAAxB;AACAR,OAAO,CAACW,MAAR,GAAiBH,OAAO,CAAC,UAAD,CAAxB;AACAR,OAAO,CAACY,MAAR,GAAiBJ,OAAO,CAAC,UAAD,CAAxB;AACAR,OAAO,CAACa,MAAR,GAAiBL,OAAO,CAAC,UAAD,CAAxB","sourcesContent":["var exports = module.exports = function SHA (algorithm) {\n algorithm = algorithm.toLowerCase()\n\n var Algorithm = exports[algorithm]\n if (!Algorithm) throw new Error(algorithm + ' is not supported (we accept pull requests)')\n\n return new Algorithm()\n}\n\nexports.sha = require('./sha')\nexports.sha1 = require('./sha1')\nexports.sha224 = require('./sha224')\nexports.sha256 = require('./sha256')\nexports.sha384 = require('./sha384')\nexports.sha512 = require('./sha512')\n"]},"metadata":{},"sourceType":"script"} |