Skip to main content
Module

x/easysecurity/mod.ts>IV

Basic security API for Typescript that optimizes for easy use
Go to Latest
class IV
import { IV } from "https://deno.land/x/easysecurity@0.1.4/mod.ts";

Constructors

new
IV(bytes: Uint8Array)

Properties

readonly
bytes: Uint8Array

Methods

toHex(): string

export the hex serialization of the IV

Static Properties

readonly
Length: number

Static Methods

fromHex(hexIV: string): IV

construct a new Key based on the exported IV hex representation

fromString(s: string): Promise<IV>

construct a new IV using a provided string as the seed

construct a new IV based on a new random seed