Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mandarinets/security-core/hash/sha256.ts>Sha256

Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.
Latest
class Sha256
import { Sha256 } from "https://deno.land/x/mandarinets@v2.3.2/security-core/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