edwards: add toRawBytes to ts type

This commit is contained in:
Paul Miller 2023-03-26 13:54:04 +00:00
parent 0ffa38db6b
commit 3936449e7b
No known key found for this signature in database
GPG Key ID: 697079DA6878B89B

@ -58,6 +58,8 @@ export interface ExtPointType extends Group<ExtPointType> {
isTorsionFree(): boolean;
clearCofactor(): ExtPointType;
toAffine(iz?: bigint): AffinePoint<bigint>;
toRawBytes(isCompressed?: boolean): Uint8Array;
toHex(isCompressed?: boolean): string;
}
// Static methods of Extended Point with coordinates in X, Y, Z, T
export interface ExtPointConstructor extends GroupConstructor<ExtPointType> {