crypto

package
v0.0.0-...-e62627f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "crypto"
)

Variables

This section is empty.

Functions

func InstallGlobal

func InstallGlobal(ctx *quickjs.Context, options ...Option) error

InstallGlobal installs a fresh WebCrypto-compatible crypto object in ctx.

func Module

func Module() module.Definition

Module returns the crypto and node:crypto WebCrypto module definition.

Types

type Config

type Config struct {
	ResourceLimits *limits.Runtime
}

type Option

type Option func(*Config)

func WithResourceLimits

func WithResourceLimits(resourceLimits *limits.Runtime) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL