LibPublicKey

Git Source

State Variables

PUBLIC_KEY_LENGTH

uint256 constant PUBLIC_KEY_LENGTH = 48;

PADDING

bytes constant PADDING = hex"00000000000000000000000000000000";

Functions

toBytes

function toBytes(PublicKey memory publicKey) internal pure returns (bytes memory);

fromBytes

function fromBytes(bytes memory publicKey) internal pure returns (PublicKey memory ret);

Structs

PublicKey

struct PublicKey {
    bytes32 A;
    bytes16 B;
}