* Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding} * @abstract * @param {BinaryToTextEncoding=} encoding encoding of the return value * @returns {string | Buffer} digest
(encoding)
| 35 | * @returns {string | Buffer} digest |
| 36 | */ |
| 37 | digest(encoding) { |
| 38 | return this._hash.digest(/** @type {BinaryToTextEncoding} */ (encoding)); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | /** @type {import("../../../../").Configuration} */ |
no outgoing calls