Skip to main content
Verify.prototype.update - node__crypto.d.ts - Node documentation
method Verify.prototype.update

Usage in Deno

```typescript import { Verify } from "node:node__crypto.d.ts"; ```
Verify.prototype.update(data: BinaryLike): Verify
Updates the `Verify` content with the given `data`, the encoding of which is given in `inputEncoding`. If `inputEncoding` is not provided, and the `data` is a string, an encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or `DataView`, then `inputEncoding` is ignored. This can be called many times with new data as it is streamed.

Parameters

Return Type

Verify.prototype.update(
data: string,
inputEncoding: Encoding,
): Verify

Parameters

data: string
inputEncoding: Encoding

Return Type