Initializes a newly created cipher params object.
An object with any of the possible cipher parameters.
var cipherParams = CryptoJS.lib.CipherParams.create({ ciphertext: ciphertextWordArray, key: keyWordArray, iv: ivWordArray, salt: saltWordArray, algorithm: CryptoJS.algo.AES, mode: CryptoJS.mode.CBC, padding: CryptoJS.pad.PKCS7, blockSize: 4, formatter: CryptoJS.format.OpenSSL }); Copy
var cipherParams = CryptoJS.lib.CipherParams.create({ ciphertext: ciphertextWordArray, key: keyWordArray, iv: ivWordArray, salt: saltWordArray, algorithm: CryptoJS.algo.AES, mode: CryptoJS.mode.CBC, padding: CryptoJS.pad.PKCS7, blockSize: 4, formatter: CryptoJS.format.OpenSSL });
Initializes a newly created cipher params object.