Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dotp/src/secret_key.ts

Deno One-Time Password
Go to Latest
import * as dotp from "https://deno.land/x/dotp@v0.0.1/src/secret_key.ts";

Functions

This function wraps the WebCrypto API to generate a key useful for signing HMAC SHA-1 mesages.

Create a secret key from a Uint8Array.

Encode a string value into an Uint8Array.

At times, we may have to show the actual secret key used to sign our authenticated message.