Converts a public key to its compressed form.
The parameters for the public key compression.
The public key as a Uint8Array.
A Promise that resolves to the compressed public key as a Uint8Array.
Converts a public key to its uncompressed form.
The parameters for the public key decompression.
The public key as a Uint8Array.
A Promise that resolves to the uncompressed public key as a Uint8Array.
KeyCompressor
interface for converting public keys between compressed and uncompressed form.