Versions in this module Expand all Collapse all v0 v0.5.0 Mar 16, 2024 v0.4.0 Dec 10, 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