Encodes a private key to a string. The input must be 32 bytes. The output is represented as unpadded Base64 by default.
the private key bytes
one of the supported encodings to use, as per encodeBytes.
TypeError if the size of the buffer is incorrect.
Generated using TypeDoc
Encodes a private key to a string. The input must be 32 bytes. The output is represented as unpadded Base64 by default.