Skip to content

Commit

Permalink
feat: blowfish support
Browse files Browse the repository at this point in the history
  • Loading branch information
Alanscut committed Sep 14, 2021
1 parent c8a2312 commit fb81418
Show file tree
Hide file tree
Showing 4 changed files with 492 additions and 2 deletions.
8 changes: 6 additions & 2 deletions grunt/config/modularize.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ module.exports = {
"index": {
"global": "CryptoJS",
"exports": "CryptoJS",
"components": ["core", "x64-core", "lib-typedarrays", "enc-utf16", "enc-base64", "enc-base64url", "md5", "sha1", "sha256", "sha224", "sha512", "sha384", "sha3", "ripemd160", "hmac", "pbkdf2", "evpkdf", "cipher-core", "mode-cfb", "mode-ctr", "mode-ctr-gladman", "mode-ofb", "mode-ecb", "pad-ansix923", "pad-iso10126", "pad-iso97971", "pad-zeropadding", "pad-nopadding", "format-hex", "aes", "tripledes", "rc4", "rabbit", "rabbit-legacy"]
"components": ["core", "x64-core", "lib-typedarrays", "enc-utf16", "enc-base64", "enc-base64url", "md5", "sha1", "sha256", "sha224", "sha512", "sha384", "sha3", "ripemd160", "hmac", "pbkdf2", "evpkdf", "cipher-core", "mode-cfb", "mode-ctr", "mode-ctr-gladman", "mode-ofb", "mode-ecb", "pad-ansix923", "pad-iso10126", "pad-iso97971", "pad-zeropadding", "pad-nopadding", "format-hex", "aes", "tripledes", "rc4", "rabbit", "rabbit-legacy","blowfish"]
},
"crypto-js": {
"pack": true,
"global": "CryptoJS",
"exports": "CryptoJS",
"components": ["core", "x64-core", "lib-typedarrays", "enc-utf16", "enc-base64", "enc-base64url", "md5", "sha1", "sha256", "sha224", "sha512", "sha384", "sha3", "ripemd160", "hmac", "pbkdf2", "evpkdf", "cipher-core", "mode-cfb", "mode-ctr", "mode-ctr-gladman", "mode-ofb", "mode-ecb", "pad-ansix923", "pad-iso10126", "pad-iso97971", "pad-zeropadding", "pad-nopadding", "format-hex", "aes", "tripledes", "rc4", "rabbit", "rabbit-legacy"]
"components": ["core", "x64-core", "lib-typedarrays", "enc-utf16", "enc-base64", "enc-base64url", "md5", "sha1", "sha256", "sha224", "sha512", "sha384", "sha3", "ripemd160", "hmac", "pbkdf2", "evpkdf", "cipher-core", "mode-cfb", "mode-ctr", "mode-ctr-gladman", "mode-ofb", "mode-ecb", "pad-ansix923", "pad-iso10126", "pad-iso97971", "pad-zeropadding", "pad-nopadding", "format-hex", "aes", "tripledes", "rc4", "rabbit", "rabbit-legacy","blowfish"]
},

// hash
Expand Down Expand Up @@ -103,6 +103,10 @@ module.exports = {
"exports": "CryptoJS.AES",
"components": ["core", "enc-base64", "md5", "evpkdf", "cipher-core", "aes"]
},
"blowfish": {
"exports": "CryptoJS.BF",
"components": ["core", "enc-base64", "md5", "evpkdf", "cipher-core", "blowfish"]
},
"tripledes": {
"exports": "CryptoJS.TripleDES",
"components": ["core", "enc-base64", "md5", "evpkdf", "cipher-core", "tripledes"]
Expand Down
Loading

0 comments on commit fb81418

Please sign in to comment.