From 3936449e7bf2c907e3d9cdf906518982000b44fe Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Sun, 26 Mar 2023 13:54:04 +0000 Subject: [PATCH] edwards: add toRawBytes to ts type --- src/abstract/edwards.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/abstract/edwards.ts b/src/abstract/edwards.ts index e326001..d290dab 100644 --- a/src/abstract/edwards.ts +++ b/src/abstract/edwards.ts @@ -58,6 +58,8 @@ export interface ExtPointType extends Group { isTorsionFree(): boolean; clearCofactor(): ExtPointType; toAffine(iz?: bigint): AffinePoint; + 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 {