crypto

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type CryptoModule

type CryptoModule struct {
	// contains filtered or unexported fields
}

func (*CryptoModule) Exports

func (c *CryptoModule) Exports() *modules.Exports

type GojaHash

type GojaHash struct {
	// contains filtered or unexported fields
}

func (*GojaHash) Digest

func (h *GojaHash) Digest(enc string) (any, error)

func (*GojaHash) Update

func (h *GojaHash) Update(data any) (*GojaHash, error)

type HashFunc added in v0.8.0

type HashFunc func(data any, encoding string) (any, error)

Jump to

Keyboard shortcuts

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