Versions in this module Expand all Collapse all v0 v0.3.1 Apr 12, 2023 v0.3.0 Jan 29, 2023 v0.2.2 Jan 29, 2023 Changes in this version + func Decapsulate(privKey *rsa.PrivateKey, ek []byte, kdfParams KDFParams) ([]byte, error) + func Encapsulate(pubKey *rsa.PublicKey, k []byte, kdfParams KDFParams) ([]byte, error) + type KDFParams struct + HashFunc func() hash.Hash + Iter int + KeyLen int + Salt []byte