ag-utilities
Advanced tools
Comparing version 1.1.202 to 1.1.203
export declare const AgEncrypt: { | ||
md5(str: string): string; | ||
sha256(str: string): string; | ||
@@ -3,0 +4,0 @@ ssl(): { |
@@ -8,3 +8,7 @@ "use strict"; | ||
var sha_js_1 = __importDefault(require("sha.js")); | ||
var crypto_1 = __importDefault(require("crypto")); | ||
exports.AgEncrypt = { | ||
md5: function (str) { | ||
return crypto_1.default.createHash('md5').update(str, 'utf8').digest('hex'); | ||
}, | ||
sha256: function (str) { | ||
@@ -11,0 +15,0 @@ // online generator --> https://passwordsgenerator.net/sha256-hash-generator/ |
{ | ||
"name": "ag-utilities", | ||
"version": "1.1.202", | ||
"version": "1.1.203", | ||
"author": "fangxq", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
141662
3231