Skip to main content
Module

std/hash/sha256.ts>Sha256

Deno standard library
Go to Latest
class Sha256
import { Sha256 } from "https://deno.land/std@0.102.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