Skip to main content
Module

x/easysecurity/mod.ts

Basic security API for Typescript that optimizes for easy use
Latest
import * as easysecurity from "https://deno.land/x/easysecurity@0.2.0/mod.ts";

Variables

test a string to see if it is a uuid (as generated by randomUUID)

re-export crypto.randomUUID in this namespace

produce the hex-encoded string of the sha256 hash of string s

Functions

encrypt a clear text and hex-encode the resulting encrypted value