Lines Matching refs:ciphertext

6230             decrypt: function decrypt(ciphertext, key, cfg) {
6231 return selectCipherStrategy(key).decrypt(cipher, ciphertext, key, cfg);
6611 var ciphertext = cipherParams.ciphertext;
6616 wordArray = WordArray.create([0x53616c74, 0x65645f5f]).concat(salt).concat(ciphertext);
6618 wordArray = ciphertext;
6639 var ciphertext = Base64.parse(openSSLStr);
6642 var ciphertextWords = ciphertext.words;
6651 ciphertext.sigBytes -= 16;
6654 ciphertext: ciphertext,
6696 var ciphertext = encryptor.finalize(message);
6703 ciphertext: ciphertext,
6730 decrypt: function decrypt(cipher, ciphertext, key, cfg) {
6735 ciphertext = this._parse(ciphertext, cfg.format);
6738 var plaintext = cipher.createDecryptor(key, cfg).finalize(ciphertext.ciphertext);
6756 _parse: function _parse(ciphertext, format) {
6757 if (typeof ciphertext == 'string') {
6758 return format.parse(ciphertext, this);
6760 return ciphertext;
6856 … var ciphertext = SerializableCipher.encrypt.call(this, cipher, message, derivedParams.key, cfg);
6859 ciphertext.mixIn(derivedParams);
6860 return ciphertext;
6879 decrypt: function decrypt(cipher, ciphertext, password, cfg) {
6884 ciphertext = this._parse(ciphertext, cfg.format);
6887 … var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt);
6893 … var plaintext = SerializableCipher.decrypt.call(this, cipher, ciphertext, derivedParams.key, cfg);
8265 return cipherParams.ciphertext.toString(Hex);
8281 var ciphertext = Hex.parse(input);
8283 ciphertext: ciphertext
14315 …er(_cryptoJs.default.RC4.encrypt(_cryptoJs.default.lib.WordArray.create(buffer), _key).ciphertext);
14331 …oJs.default.AES.encrypt(_cryptoJs.default.lib.WordArray.create(buffer), key, options).ciphertext));
14389 return _cryptoJs.default.RC4.encrypt(processPasswordR2R3R4(), encryptionKey).ciphertext;
14399 cipher = _cryptoJs.default.RC4.encrypt(cipher, key).ciphertext;
14418 cipher = _cryptoJs.default.RC4.encrypt(cipher, key).ciphertext;
14443 return _cryptoJs.default.AES.encrypt(encryptionKey, key, options).ciphertext;
14457 return _cryptoJs.default.AES.encrypt(encryptionKey, key, options).ciphertext;
14468 return _cryptoJs.default.AES.encrypt(cipher, encryptionKey, options).ciphertext;