forked from tornado-packages/noble-curves
edwards: add toRawBytes to ts type
This commit is contained in:
parent
0ffa38db6b
commit
3936449e7b
@ -58,6 +58,8 @@ export interface ExtPointType extends Group<ExtPointType> {
|
|||||||
isTorsionFree(): boolean;
|
isTorsionFree(): boolean;
|
||||||
clearCofactor(): ExtPointType;
|
clearCofactor(): ExtPointType;
|
||||||
toAffine(iz?: bigint): AffinePoint<bigint>;
|
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
|
// Static methods of Extended Point with coordinates in X, Y, Z, T
|
||||||
export interface ExtPointConstructor extends GroupConstructor<ExtPointType> {
|
export interface ExtPointConstructor extends GroupConstructor<ExtPointType> {
|
||||||
|
Loading…
Reference in New Issue
Block a user