Documentation
    Preparing search index...

    Variable getPublicKeyConst

    getPublicKey: (privateKey: PrivKey, isCompressed?: boolean) => Uint8Array = secp.getPublicKey

    Return the public key for the given private key, to be used for asymmetric encryption.

    Type declaration

      • (privateKey: PrivKey, isCompressed?: boolean): Uint8Array
      • Parameters

        • privateKey: PrivKey
        • OptionalisCompressed: boolean

        Returns Uint8Array