Constructors
constructor
-
Parameters
Properties
Private makeOperator
makeOperator: any
Private operator
operator: any
Methods
decrypt
- decrypt(data: string, options?: { encoding: { decode: (str: string | IterableObject) => CryptoJs.lib.WordArray; encode: (wordArray: CryptoJs.lib.WordArray) => string | Uint8Array; name: string }; padding: { name: string; op: PaddingList; pad: (data: CryptoJs.lib.WordArray) => void; unpad: (data: CryptoJs.lib.WordArray) => void } }): string
-
Parameters
-
data: string
-
Optional options: { encoding: { decode: (str: string | IterableObject) => CryptoJs.lib.WordArray; encode: (wordArray: CryptoJs.lib.WordArray) => string | Uint8Array; name: string }; padding: { name: string; op: PaddingList; pad: (data: CryptoJs.lib.WordArray) => void; unpad: (data: CryptoJs.lib.WordArray) => void } }
-
encoding: { decode: (str: string | IterableObject) => CryptoJs.lib.WordArray; encode: (wordArray: CryptoJs.lib.WordArray) => string | Uint8Array; name: string }
-
decode: (str: string | IterableObject) => CryptoJs.lib.WordArray
-
-
Parameters
Returns CryptoJs.lib.WordArray
-
encode: (wordArray: CryptoJs.lib.WordArray) => string | Uint8Array
-
- (wordArray: CryptoJs.lib.WordArray): string | Uint8Array
-
Parameters
-
wordArray: CryptoJs.lib.WordArray
Returns string | Uint8Array
-
name: string
-
padding: { name: string; op: PaddingList; pad: (data: CryptoJs.lib.WordArray) => void; unpad: (data: CryptoJs.lib.WordArray) => void }
-
name: string
-
-
pad: (data: CryptoJs.lib.WordArray) => void
-
- (data: CryptoJs.lib.WordArray): void
-
Parameters
-
data: CryptoJs.lib.WordArray
Returns void
-
unpad: (data: CryptoJs.lib.WordArray) => void
-
- (data: CryptoJs.lib.WordArray): void
-
Parameters
-
data: CryptoJs.lib.WordArray
Returns void
Returns string
decrypted string
encrypt
- encrypt(data: string, options?: { encoding: { decode: (str: string | IterableObject) => CryptoJs.lib.WordArray; encode: (wordArray: CryptoJs.lib.WordArray) => string | Uint8Array; name: string }; padding: { name: string; op: PaddingList; pad: (data: CryptoJs.lib.WordArray) => void; unpad: (data: CryptoJs.lib.WordArray) => void } }): string
-
Parameters
-
data: string
-
Optional options: { encoding: { decode: (str: string | IterableObject) => CryptoJs.lib.WordArray; encode: (wordArray: CryptoJs.lib.WordArray) => string | Uint8Array; name: string }; padding: { name: string; op: PaddingList; pad: (data: CryptoJs.lib.WordArray) => void; unpad: (data: CryptoJs.lib.WordArray) => void } }
-
encoding: { decode: (str: string | IterableObject) => CryptoJs.lib.WordArray; encode: (wordArray: CryptoJs.lib.WordArray) => string | Uint8Array; name: string }
-
decode: (str: string | IterableObject) => CryptoJs.lib.WordArray
-
-
Parameters
Returns CryptoJs.lib.WordArray
-
encode: (wordArray: CryptoJs.lib.WordArray) => string | Uint8Array
-
- (wordArray: CryptoJs.lib.WordArray): string | Uint8Array
-
Parameters
-
wordArray: CryptoJs.lib.WordArray
Returns string | Uint8Array
-
name: string
-
padding: { name: string; op: PaddingList; pad: (data: CryptoJs.lib.WordArray) => void; unpad: (data: CryptoJs.lib.WordArray) => void }
-
name: string
-
-
pad: (data: CryptoJs.lib.WordArray) => void
-
- (data: CryptoJs.lib.WordArray): void
-
Parameters
-
data: CryptoJs.lib.WordArray
Returns void
-
unpad: (data: CryptoJs.lib.WordArray) => void
-
- (data: CryptoJs.lib.WordArray): void
-
Parameters
-
data: CryptoJs.lib.WordArray
Returns void
Returns string
encrypted string
Construct AesCryptor