referrerpolicy=no-referrer-when-downgrade

Function ecdsa_bls381_generate

Source
pub fn ecdsa_bls381_generate(
    id: <PassPointerAndReadCopy<KeyTypeId, 4> as RIType>::Inner,
    seed: <PassFatPointerAndDecode<Option<Vec<u8>>> as RIType>::Inner,
) -> <AllocateAndReturnPointer<Public, { _ }> as RIType>::Inner
Expand description

Generate combination ecdsa & 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.