@types/crypto-js
Advanced tools
Comparing version 3.1.46 to 3.1.47
@@ -5,2 +5,3 @@ // Type definitions for crypto-js v3.1.8 | ||
// Max Lysenko <https://github.com/maximlysenko> | ||
// Brendan Early <https://github.com/mymindstorm> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -34,3 +35,3 @@ | ||
interface CipherHelper { | ||
encrypt(message: string | WordArray, secretPassphrase: string | WordArray, option?: CipherOption): WordArray; | ||
encrypt(message: string | LibWordArray, secretPassphrase: string | WordArray, option?: CipherOption): WordArray; | ||
decrypt(encryptedMessage: string | WordArray, secretPassphrase: string | WordArray, option?: CipherOption): DecryptedMessage; | ||
@@ -62,3 +63,3 @@ } | ||
interface CipherOption { | ||
iv?: string | WordArray; | ||
iv?: string | LibWordArray; | ||
mode?: Mode; | ||
@@ -153,3 +154,3 @@ padding?: Padding; | ||
create: (v: any) => LibWordArray; | ||
random: (v: number) => WordArray; | ||
random: (v: number) => LibWordArray; | ||
}; | ||
@@ -156,0 +157,0 @@ }; |
{ | ||
"name": "@types/crypto-js", | ||
"version": "3.1.46", | ||
"version": "3.1.47", | ||
"description": "TypeScript definitions for crypto-js", | ||
@@ -16,2 +16,7 @@ "license": "MIT", | ||
"githubUsername": "maximlysenko" | ||
}, | ||
{ | ||
"name": "Brendan Early", | ||
"url": "https://github.com/mymindstorm", | ||
"githubUsername": "mymindstorm" | ||
} | ||
@@ -28,4 +33,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "1b881752217d0bf525f6a5c4529605834c22a71abd5c03101061f8dcdb02fcc6", | ||
"typesPublisherContentHash": "82e498426fa1184996a9bf157b852060d8775048016fdd14f528d538410fb8eb", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 15 May 2020 04:09:00 GMT | ||
* Last updated: Sat, 23 May 2020 15:07:37 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: `CryptoJS` | ||
# Credits | ||
These definitions were written by [Michael Zabka](https://github.com/misak113), and [Max Lysenko](https://github.com/maximlysenko). | ||
These definitions were written by [Michael Zabka](https://github.com/misak113), [Max Lysenko](https://github.com/maximlysenko), and [Brendan Early](https://github.com/mymindstorm). |
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
12857
266