Static
fromCreate a seed for IBE encryption from a byte string
This input should be randomly chosen by a secure random number generator. If the seed is not securely generated the IBE scheme will be insecure.
At least 128 bits (16 bytes) must be provided.
If the input is exactly 256 bits it is used directly. Otherwise the input is hashed with HKDF to produce a 256 bit seed.
Static
randomCreate a random seed for IBE encryption
A random seed, used for identity based encryption