package hpke
Import Path
github.com/refraction-networking/utls/internal/hpke (on go.dev )
Dependency Relation
imports 10 packages , and imported by one package
Package-Level Type Names (total 9, in which 5 are exported)
/* sort exporteds by: alphabet | popularity */
type Receipient (struct)
Fields (total 8, none are exported )
/* 8 unexporteds ... */ /* 8 unexporteds: */
context *context
context .aead cipher .AEAD
context .baseNonce []byte
context .exporterSecret []byte
context .key []byte
context .seqNum uint128
context .sharedSecret []byte
context .suiteID []byte
Methods (total 3, in which 1 is exported )
(*Receipient) Open (aad, ciphertext []byte ) ([]byte , error )
/* 2 unexporteds ... */ /* 2 unexporteds: */
( Receipient) incrementNonce ()
( Receipient) nextNonce () []byte
As Outputs Of (at least one exported )
func SetupReceipient (kemID, kdfID, aeadID uint16 , priv *ecdh .PrivateKey , info, encPubEph []byte ) (*Receipient , error )
As Inputs Of (at least one unexported )
/* at least one unexported ... */ /* at least one unexported: */
func github.com/refraction-networking/utls.decryptECHPayload (context *Receipient , hello, payload []byte ) ([]byte , error )
type Sender (struct)
Fields (total 8, none are exported )
/* 8 unexporteds ... */ /* 8 unexporteds: */
context *context
context .aead cipher .AEAD
context .baseNonce []byte
context .exporterSecret []byte
context .key []byte
context .seqNum uint128
context .sharedSecret []byte
context .suiteID []byte
Methods (total 3, in which 1 is exported )
(*Sender) Seal (aad, plaintext []byte ) ([]byte , error )
/* 2 unexporteds ... */ /* 2 unexporteds: */
( Sender) incrementNonce ()
( Sender) nextNonce () []byte
As Outputs Of (at least one exported )
func SetupSender (kemID, kdfID, aeadID uint16 , pub *ecdh .PublicKey , info []byte ) ([]byte , *Sender , error )
Package-Level Constants (total 5, all are exported)
The pages are generated with Golds v0.8.4 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .