Function encodePrivateKey

  • Encodes a private key to a string. The input must be 32 bytes. The output is represented as unpadded Base64 by default.

    Parameters

    Returns string

    Throws

    TypeError if the size of the buffer is incorrect.

Generated using TypeDoc