Documentation ¶
Overview ¶
Package hpke provides implementations of Hybrid Public Key Encryption.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decrypt ¶
type Decrypt struct {
// contains filtered or unexported fields
}
Decrypt for HPKE implements interface HybridDecrypt.
func NewDecrypt ¶
func NewDecrypt(recipientPrivKey *pb.HpkePrivateKey) (*Decrypt, error)
NewDecrypt constructs a Decrypt using HpkePrivateKey.
type Encrypt ¶
type Encrypt struct {
// contains filtered or unexported fields
}
Encrypt for HPKE implements interface HybridEncrypt.
func NewEncrypt ¶
func NewEncrypt(recipientPubKey *pb.HpkePublicKey) (*Encrypt, error)
NewEncrypt constructs an Encrypt using HpkePublicKey.
Click to show internal directories.
Click to hide internal directories.