Documentation ¶
Index ¶
- Variables
- type Crypto
- func (c *Crypto) Ecdh(ctx context.Context, algorithm string, privateKey, publicKey goja.ArrayBuffer) (interface{}, error)
- func (c *Crypto) GenerateKeyPair(ctx context.Context, algorithm string, seedIn interface{}) (*KeyPair, error)
- func (c *Crypto) Hkdf(ctx context.Context, hash string, secretIn, saltIn, infoIn interface{}, ...) (interface{}, error)
- func (c *Crypto) Pbkdf2(ctx context.Context, passwordIn, saltIn interface{}, iter, keylen int, ...) (interface{}, error)
- type KeyPair
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Crypto ¶
type Crypto struct{}
func (*Crypto) GenerateKeyPair ¶
type KeyPair ¶
type KeyPair struct { PrivateKey goja.ArrayBuffer `js:"privateKey"` PublicKey goja.ArrayBuffer `js:"publicKey"` }
Click to show internal directories.
Click to hide internal directories.