method Hmac.prototype.digest
Usage in Deno
```typescript import { Hmac } from "node:node__crypto.d.ts"; ```
Hmac.prototype.digest(): Buffer
Calculates the HMAC digest of all of the data passed using `hmac.update()`.
If `encoding` is
provided a string is returned; otherwise a `Buffer` is returned;
The `Hmac` object can not be used again after `hmac.digest()` has been
called. Multiple calls to `hmac.digest()` will result in an error being thrown.
Buffer
Hmac.prototype.digest(encoding: BinaryToTextEncoding): string
encoding: BinaryToTextEncoding
string