Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/entropy/src/encrypter/encrypter.module.ts>Encrypter

The core module of Entropy framework for Deno.
Latest
class Encrypter
import { Encrypter } from "https://deno.land/x/entropy@1.0.0-beta.17/src/encrypter/encrypter.module.ts";

Properties

private
readonly
configurator
private
readonly
decoder: TextDecoder
private
readonly
encoder: TextEncoder

Methods

compareHash(plainText: string, hash: string): Promise<boolean>
decodeBase64(encoded: string): string
encodeBase64(plainText: string | ArrayBuffer): string
generateRandomString(length?): string
generateUuid(unnamed 0?: UuidOptions): string
hash(plainText: string): Promise<string>