Blockchain Commons Components TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Class ECUncompressedPublicKey

    A base interface for all elliptic curve keys.

    This interface defines common functionality for all elliptic curve keys, including both private and public keys. It provides methods for key construction from binary data and hexadecimal strings, as well as conversion to hexadecimal format.

    All EC key types have a fixed size depending on their specific type:

    • EC private keys: 32 bytes
    • EC compressed public keys: 33 bytes
    • EC uncompressed public keys: 65 bytes
    • Schnorr public keys: 32 bytes

    Implements

    Index

    Properties

    KEY_SIZE: 65 = ECDSA_UNCOMPRESSED_PUBLIC_KEY_SIZE

    Methods