did_key
pub fn generate<T: Generate + Ecdsa + Ecdh + DIDCore + Fingerprint + Into<KeyPair>>( seed: Option<&[u8]>) -> KeyPair
Generate new did:key of the specified type
did:key