Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.0/src/utils.ts";

Convert a string to a Uint8Array.

type

(value: string) => Uint8Array