Lines Matching refs:Cipher
144 // The Cipher class is part of the legacy Node.js crypto API. It exposes
146 // the Cipher class is defined using the legacy function syntax rather than
149 function Cipher(cipher, password, options) {
150 if (!(this instanceof Cipher))
151 return new Cipher(cipher, password, options);
156 ObjectSetPrototypeOf(Cipher.prototype, LazyTransform.prototype);
157 ObjectSetPrototypeOf(Cipher, LazyTransform);
159 Cipher.prototype._transform = function _transform(chunk, encoding, callback) {
164 Cipher.prototype._flush = function _flush(callback) {
174 Cipher.prototype.update = function update(data, inputEncoding, outputEncoding) {
197 Cipher.prototype.final = function final(outputEncoding) {
210 Cipher.prototype.setAutoPadding = function setAutoPadding(ap) {
216 Cipher.prototype.getAuthTag = function getAuthTag() {
231 Cipher.prototype.setAAD = function setAAD(aadbuf, options) {
253 constructor.prototype._transform = Cipher.prototype._transform;
254 constructor.prototype._flush = Cipher.prototype._flush;
255 constructor.prototype.update = Cipher.prototype.update;
256 constructor.prototype.final = Cipher.prototype.final;
257 constructor.prototype.setAutoPadding = Cipher.prototype.setAutoPadding;
259 constructor.prototype.getAuthTag = Cipher.prototype.getAuthTag;
263 constructor.prototype.setAAD = Cipher.prototype.setAAD;
330 Cipher,