Interface ICompressed<UncompressedType>

Interface for parameters with elliptic curve points in compressed form. They can be converted into uncompressed form. Uncompressed data is larger in byte-size but more CPU efficient to work with (in this lib's context) as the cost to decompress is avoided.

interface ICompressed<UncompressedType> {
    value: Uint8Array;
    decompress(): UncompressedType;
}

Type Parameters

  • UncompressedType

Implemented by

Properties

Methods

Properties

value: Uint8Array

Methods