Module

std/hash/sha256.ts>Sha256

Deno standard library
Go to Latest
class Sha256
import { Sha256 } from "https://dotland.deno.dev/std@0.110.0/hash/sha256.ts";

Constructors

new
Sha256(is224?, sharedMemory?)

Methods

protected
finalize(): void
protected
hash(): void
protected
init(is224: boolean, sharedMemory: boolean): void
array(): number[]

Return hash in integer array.

arrayBuffer(): ArrayBuffer

Return hash in ArrayBuffer.

digest(): number[]

Return hash in integer array.

hex(): string

Return hash in hex string.

toString(): string

Return hash in hex string.

update(message: Message): this

Update hash