jscrypto

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "crypto"

Name is the library identifier and the global binding installed into the runtime.

Variables

View Source
var ErrUnsupportedAlgorithm = errors.New("jscrypto: unsupported algorithm")

ErrUnsupportedAlgorithm is thrown into the script when crypto.hmac receives an algorithm outside md5 / sha1 / sha256 / sha512 / sm3.

Functions

func New

func New() js.Lib

New builds the crypto library. It is pure computation and needs no dependencies or policy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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