Namespace: weierstrass
ec.weierstrass
Interfaces​
Type Aliases​
AffinePoint​
Ƭ AffinePoint<T>: { x: T ; y: T } & { z?: never ; t?: never }
Type parameters​
| Name |
|---|
T |
Defined in​
node_modules/@noble/curves/esm/abstract/curve.d.ts:3
BasicWCurve​
Ƭ BasicWCurve<T>: BasicCurve<T> & { a: T ; b: T ; allowedPrivateKeyLengths?: readonly number[] ; wrapPrivateKey?: boolean ; endo?: EndomorphismOpts ; isTorsionFree?: (c: ProjConstructor<T>, point: ProjPointType<T>) => boolean ; clearCofactor?: (c: ProjConstructor<T>, point: ProjPointType<T>) => ProjPointType<T> }
Type parameters​
| Name |
|---|
T |
Defined in​
node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:16
SignOpts​
Ƭ SignOpts: Object
Type declaration​
| Name | Type |
|---|---|
lowS? | boolean |
extraEntropy? | Entropy |
prehash? | boolean |
Defined in​
node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:26
VerOpts​
Ƭ VerOpts: Object
Type declaration​
| Name | Type |
|---|---|
lowS? | boolean |
prehash? | boolean |
format? | "compact" | "der" |
Defined in​
node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:31
CurvePointsType​
Ƭ CurvePointsType<T>: BasicWCurve<T> & { fromBytes?: (bytes: Uint8Array) => AffinePoint<T> ; toBytes?: (c: ProjConstructor<T>, point: ProjPointType<T>, isCompressed: boolean) => Uint8Array }
Type parameters​
| Name |
|---|
T |
Defined in​
node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:83
CurvePointsRes​
Ƭ CurvePointsRes<T>: Object
Type parameters​
| Name |
|---|
T |
Type declaration​
| Name | Type |
|---|---|
CURVE | ReturnType<typeof validatePointOpts> |
ProjectivePoint | ProjConstructor<T> |
normPrivateKeyToScalar | (key: PrivKey) => bigint |
weierstrassEquation | (x: T) => T |
isWithinCurveOrder | (num: bigint) => boolean |
Defined in​
node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:108
RecoveredSignatureType​
Ƭ RecoveredSignatureType: SignatureType & { recovery: number }
Defined in​
node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:165
SignatureConstructor​
Ƭ SignatureConstructor: Object