@aldea/sdk / Exports / ed25519 / Point
Class: Point
ed25519.Point
Table of contents
Constructors
Properties
Accessors
Methods
- _scalarMult
- add
- clearCofactor
- double
- equals
- is0
- isSmallOrder
- isTorsionFree
- mul
- multiply
- negate
- toAffine
- toHex
- toRawBytes
- fromAffine
- fromHex
Constructors
constructor
• new Point(ex
, ey
, ez
, et
): Point
Parameters
Name | Type |
---|---|
ex | bigint |
ey | bigint |
ez | bigint |
et | bigint |
Returns
Defined in
node_modules/@noble/ed25519/index.d.ts:21
Properties
et
• Readonly
et: bigint
Defined in
node_modules/@noble/ed25519/index.d.ts:20
ex
• Readonly
ex: bigint
Defined in
node_modules/@noble/ed25519/index.d.ts:17
ey
• Readonly
ey: bigint
Defined in
node_modules/@noble/ed25519/index.d.ts:18
ez
• Readonly
ez: bigint
Defined in
node_modules/@noble/ed25519/index.d.ts:19
BASE
▪ Static
Readonly
BASE: Point
Defined in
node_modules/@noble/ed25519/index.d.ts:22
ZERO
▪ Static
Readonly
ZERO: Point
Defined in
node_modules/@noble/ed25519/index.d.ts:23
Accessors
x
• get
x(): bigint
Returns
bigint
Defined in
node_modules/@noble/ed25519/index.d.ts:26
y
• get
y(): bigint
Returns
bigint
Defined in
node_modules/@noble/ed25519/index.d.ts:27
Methods
_scalarMult
▸ _scalarMult(n
): Point
Parameters
Name | Type |
---|---|
n | bigint |
Returns
Defined in
packages/core/dist/support/ed25519.d.ts:30
add
▸ add(other
): Point
Parameters
Name | Type |
---|---|
other | Point |
Returns
Defined in
node_modules/@noble/ed25519/index.d.ts:32
clearCofactor
▸ clearCofactor(): Point
Returns
Defined in
node_modules/@noble/ed25519/index.d.ts:35
double
▸ double(): Point
Returns
Defined in
node_modules/@noble/ed25519/index.d.ts:31
equals
▸ equals(other
): boolean
Parameters
Name | Type |
---|---|
other | Point |
Returns
boolean
Defined in
node_modules/@noble/ed25519/index.d.ts:28
is0
▸ is0(): boolean
Returns
boolean
Defined in
node_modules/@noble/ed25519/index.d.ts:29
isSmallOrder
▸ isSmallOrder(): boolean
Returns
boolean
Defined in
node_modules/@noble/ed25519/index.d.ts:36
isTorsionFree
▸ isTorsionFree(): boolean
Returns
boolean
Defined in
node_modules/@noble/ed25519/index.d.ts:37
mul
▸ mul(n
, safe?
): Point
Parameters
Name | Type |
---|---|
n | bigint |
safe? | boolean |
Returns
Defined in
node_modules/@noble/ed25519/index.d.ts:33
multiply
▸ multiply(scalar
): Point
Parameters
Name | Type |
---|---|
scalar | bigint |
Returns
Defined in
node_modules/@noble/ed25519/index.d.ts:34
negate
▸ negate(): Point
Returns
Defined in
node_modules/@noble/ed25519/index.d.ts:30
toAffine
▸ toAffine(): AffinePoint
Returns
AffinePoint
Defined in
node_modules/@noble/ed25519/index.d.ts:38
toHex
▸ toHex(): string
Returns
string
Defined in
node_modules/@noble/ed25519/index.d.ts:40
toRawBytes
▸ toRawBytes(): Uint8Array
Returns
Uint8Array
Defined in
node_modules/@noble/ed25519/index.d.ts:39
fromAffine
▸ fromAffine(p
): Point
Parameters
Name | Type |
---|---|
p | AffinePoint |
Returns
Defined in
node_modules/@noble/ed25519/index.d.ts:24
fromHex
▸ fromHex(hex
, strict?
): Point
Parameters
Name | Type |
---|---|
hex | Hex |
strict? | boolean |
Returns
Defined in
node_modules/@noble/ed25519/index.d.ts:25