serializePrivateKey function

String serializePrivateKey(
  1. ASEPrivateKey sk
)

Serializes the private key to JSON format

Implementation

String serializePrivateKey(ASEPrivateKey sk) => jsonEncode({
      's': sk.s.vec.map((p) => p.coeffs).toList(),
    });