From 65c0dc6c599914a0c8a8a36071533d8f1c06dbe2 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Sun, 2 Apr 2023 15:34:33 +0000 Subject: [PATCH] README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7a976bf..89c9907 100644 --- a/README.md +++ b/README.md @@ -264,6 +264,8 @@ interface ProjPointType extends Group> { readonly px: T; readonly py: T; readonly pz: T; + get x(): bigint; + get y(): bigint; multiply(scalar: bigint): ProjPointType; multiplyUnsafe(scalar: bigint): ProjPointType; multiplyAndAddUnsafe(Q: ProjPointType, a: bigint, b: bigint): ProjPointType | undefined; @@ -408,6 +410,8 @@ interface ExtPointType extends Group { readonly ey: bigint; readonly ez: bigint; readonly et: bigint; + get x(): bigint; + get y(): bigint; assertValidity(): void; multiply(scalar: bigint): ExtPointType; multiplyUnsafe(scalar: bigint): ExtPointType; @@ -415,6 +419,8 @@ 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 interface ExtPointConstructor extends GroupConstructor {