Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

nkeys

import { nkeys } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";

§Classes

nkeys.NKeysError

§Enums

nkeys.NKeysErrorCode

Possible error codes on exceptions thrown by the library.

nkeys.Prefix

§Functions

nkeys.createAccount

Creates a KeyPair with an account prefix

nkeys.createOperator

Creates a KeyPair with an operator prefix

nkeys.createPair
nkeys.createUser

Creates a KeyPair with an user prefix

nkeys.decode

Decode a base64 encoded string to a binary Uint8Array

nkeys.encode

Encode binary data to a base64 string

nkeys.fromPublic

Creates a KeyPair from a specified public key

nkeys.fromSeed

Creates a KeyPair from a specified seed.

§Interfaces

nkeys.KeyPair