getPrivateKey method

Future<Uint8List?> getPrivateKey({
  1. required String id,
  2. required String password,
})

Retrieves the private key identified by id encrypted with password

Implementation

Future<Uint8List?> getPrivateKey({
  required String id,
  required String password,
}) {
  return getSecret(key: privateKeyOf(id), password: password);
}