Skip to main content

Get Private Key

Get the identity private key from a secret.

Future<String> getPrivateKey({
required String secret,
});

A secret is a random 32-bytes length array. An Integrator can create this secret in the way he finds it better suited for his/her application. It could be an encrypted mnemonic seed phrase generated with BIP39 (a way of creating mnemonic codes) or an Ethereum private key.