Function encodePublicKey

  • Encodes an EdDSA public key into a compact string represenation. The output is 32 bytes, represented as unpadded Base64 by default.

    Parameters

    • rawPublicKey: Point<BigNumber>

      the EdDSA public key to encode

    • encoding: CryptoBytesEncoding = "base64"

      one of the supported encodings to use

    Returns string

Generated using TypeDoc