rsa

package
v0.0.0-...-85b7c0f Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleID = `stdgo/crypto/rsa`
)

Variables

This section is empty.

Functions

func CRTValue

func CRTValue(exp, coeff, r *big.Int) rsa.CRTValue

func OAEPOptions

func OAEPOptions(hash crypto.Hash, label []byte) *rsa.OAEPOptions

func PKCS1v15DecryptOptions

func PKCS1v15DecryptOptions(sessionKeyLen int) *rsa.PKCS1v15DecryptOptions

func PSSOptions

func PSSOptions(saltLength int, hash crypto.Hash) *rsa.PSSOptions

func PublicKey

func PublicKey(n *big.Int, e int) *rsa.PublicKey

func Require

func Require(runtime *goja.Runtime, module *goja.Object)

Types

This section is empty.

Jump to

Keyboard shortcuts

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