Skip to content

BlackGlory/extra-compatible

Repository files navigation

extra-compatible

Install

npm install --save extra-compatible
# or
yarn add extra-compatible

API

performanceNow

function performanceNow(): number

hmacSHA256

function hmacSHA256(secret: string, text: string): Promise<string>

sha256

function sha256(input: string | DataView | TypedArray): Promise<string>

sha1

function sha1(input: string | DataView | TypedArray): Promise<string>