Versions in this module Expand all Collapse all v0 v0.0.1 May 14, 2019 Changes in this version + type Kem interface + Close func() error + Decaps func(ciphertext, secretKey []byte) (sharedSecret []byte, err error) + Encaps func(public []byte) (sharedSecret, ciphertext []byte, err error) + KeyPair func() (publicKey, secretKey []byte, err error) + type KemType string + const KemBike1L1 + const KemBike1L3 + const KemBike1L5 + const KemBike2L1 + const KemBike2L3 + const KemBike2L5 + const KemBike3L1 + const KemBike3L3 + const KemBike3L5 + const KemFrodo1344AES + const KemFrodo1344Shake + const KemFrodo640AES + const KemFrodo640Shake + const KemFrodo976AES + const KemFrodo976Shake + const KemKyber1024 + const KemKyber512 + const KemKyber768 + const KemNewHope1024 + const KemNewHope512 + const KemSidhP503 + const KemSidhP751 + const KemSikeP503 + const KemSikeP751 + type Lib struct + func LoadLib(path string) (*Lib, error) + func (l *Lib) Close() error + func (l *Lib) GetKem(kemType KemType) (Kem, error)