Versions in this module Expand all Collapse all v2 v2.3.3 Oct 19, 2023 Changes in this version + func Decrypt(key *PrivateKey, ciphertext *Ciphertext) *bn256.GT + func DecryptHibeMsg(localId string, hibeParams *Params, prvKey *PrivateKey, ...) ([]byte, error) + func EncryptHibeMsg(plaintext []byte, receiverIds []string, paramsList []*Params, ...) (map[string]string, error) + func IdStr2HibeId(id string) ([]string, []*big.Int) + func Setup(random io.Reader, l int) (*Params, MasterKey, error) + func ValidateId(id string) error + type Ciphertext = hibe.Ciphertext + func Encrypt(random io.Reader, params *Params, id []*big.Int, message *bn256.GT) (*Ciphertext, error) + type G1 = bn256.G1 + type MasterKey = hibe.MasterKey + type Params = hibe.Params + type PrivateKey = hibe.PrivateKey + func KeyGenFromMaster(random io.Reader, params *Params, master MasterKey, id []*big.Int) (*PrivateKey, error) + func KeyGenFromParent(random io.Reader, params *Params, parent *PrivateKey, id []*big.Int) (*PrivateKey, error)