strinifyPrivateKey function

String strinifyPrivateKey(
  1. PrivateKey pk
)

return a hex string version privateKey

Implementation

String strinifyPrivateKey(PrivateKey pk) {
  final privateKey = pk as ECPrivateKey;
  return privateKey.d!.toRadixString(16);
}