Documentation
¶
Index ¶
- type CryptoModule
- func (c *CryptoModule) Cleanup() error
- func (c *CryptoModule) CreateModuleObject(runtime *sobek.Runtime) sobek.Value
- func (c *CryptoModule) IsEnabled(enabledModules map[string]bool) bool
- func (c *CryptoModule) Name() string
- func (c *CryptoModule) Setup(runtime *sobek.Runtime, manager *vm.VMManager) error
- type Encoder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CryptoModule ¶
type CryptoModule struct{}
CryptoModule provides cryptographic functions
func NewCryptoModule ¶
func NewCryptoModule() *CryptoModule
NewCryptoModule creates a new crypto module
func (*CryptoModule) Cleanup ¶
func (c *CryptoModule) Cleanup() error
Cleanup performs any necessary cleanup
func (*CryptoModule) CreateModuleObject ¶
func (c *CryptoModule) CreateModuleObject(runtime *sobek.Runtime) sobek.Value
CreateModuleObject creates the crypto object when required
Click to show internal directories.
Click to hide internal directories.