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

x/iron/src/utils.ts>stringToBuffer

A cryptographic utility for sealing a JSON object using symmetric key encryption with message integrity verification.
Go to Latest
variable stringToBuffer
import { stringToBuffer } from "https://deno.land/x/iron@v1.1.1/src/utils.ts";

Convert a string to a Uint8Array.

type

(value: string) => Uint8Array