Documentation ¶
Index ¶
- Constants
- func CRTValue(exp, coeff, r *big.Int) rsa.CRTValue
- func OAEPOptions(hash crypto.Hash, label []byte) *rsa.OAEPOptions
- func PKCS1v15DecryptOptions(sessionKeyLen int) *rsa.PKCS1v15DecryptOptions
- func PSSOptions(saltLength int, hash crypto.Hash) *rsa.PSSOptions
- func PublicKey(n *big.Int, e int) *rsa.PublicKey
- func Require(runtime *goja.Runtime, module *goja.Object)
Constants ¶
View Source
const (
ModuleID = `stdgo/crypto/rsa`
)
Variables ¶
This section is empty.
Functions ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.