Function sp_io::crypto::bls381_generate
source · pub fn bls381_generate(id: KeyTypeId, seed: Option<Vec<u8>>) -> Public
Expand description
Generate an bls12-381
key for the given key type using an optional seed
and
store it in the keystore.
The seed
needs to be a valid utf8.
Returns the public key.