Searched refs:outputEncoding (Results 1 – 5 of 5) sorted by relevance
/third_party/node/lib/internal/crypto/ |
D | hash.js | 117 Hash.prototype.digest = function digest(outputEncoding) { argument 121 outputEncoding = outputEncoding || getDefaultEncoding(); 124 const ret = this[kHandle].digest(`${outputEncoding}`); 148 Hmac.prototype.digest = function digest(outputEncoding) { argument 150 outputEncoding = outputEncoding || getDefaultEncoding(); 154 return outputEncoding === 'buffer' ? buf : buf.toString(outputEncoding); 158 const ret = this[kHandle].digest(`${outputEncoding}`);
|
D | cipher.js | 174 Cipher.prototype.update = function update(data, inputEncoding, outputEncoding) { argument 177 outputEncoding = outputEncoding || encoding; 188 if (outputEncoding && outputEncoding !== 'buffer') { 189 this._decoder = getDecoder(this._decoder, outputEncoding); 197 Cipher.prototype.final = function final(outputEncoding) { argument 198 outputEncoding = outputEncoding || getDefaultEncoding(); 201 if (outputEncoding && outputEncoding !== 'buffer') { 202 this._decoder = getDecoder(this._decoder, outputEncoding);
|
/third_party/node/test/parallel/ |
D | test-crypto-authenticated.js | 150 const outputEncoding = test.plainIsHex ? 'hex' : 'ascii'; constant 152 let msg = decrypt.update(test.ct, 'hex', outputEncoding); 154 msg += decrypt.final(outputEncoding);
|
/third_party/node/doc/api/ |
D | crypto.md | 528 ### `cipher.final([outputEncoding])` 534 * `outputEncoding` {string} The [encoding][] of the return value. 536 If `outputEncoding` is specified, a string is 537 returned. If an `outputEncoding` is not provided, a [`Buffer`][] is returned. 605 ### `cipher.update(data[, inputEncoding][, outputEncoding])` 617 * `outputEncoding` {string} The [encoding][] of the return value. 627 The `outputEncoding` specifies the output format of the enciphered 628 data. If the `outputEncoding` 630 `outputEncoding` is provided, a [`Buffer`][] is returned. 838 ### `decipher.final([outputEncoding])` [all …]
|
/third_party/typescript/tests/baselines/reference/user/ |
D | adonis-framework.log | 38 …Overload 1 of 4, '(data: ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): str… 40 …Overload 2 of 4, '(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): s… 47 …Overload 1 of 4, '(data: ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): str… 49 …Overload 2 of 4, '(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): s…
|