@bsv/sdk 1.8.1 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,7 +60,7 @@ export default abstract class BasePoint {
60
60
  }
61
61
  ```
62
62
 
63
- See also: [Curve](./primitives.md#class-curve)
63
+ See also: [Curve](#class-curve)
64
64
 
65
65
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
66
66
 
@@ -231,7 +231,7 @@ export default class BigNumber {
231
231
  }
232
232
  ```
233
233
 
234
- See also: [ReductionContext](./primitives.md#class-reductioncontext), [red](./primitives.md#function-red), [toArray](./primitives.md#variable-toarray), [toHex](./primitives.md#variable-tohex)
234
+ See also: [ReductionContext](#class-reductioncontext), [red](#function-red), [toArray](#variable-toarray), [toHex](#variable-tohex)
235
235
 
236
236
  #### Constructor
237
237
 
@@ -255,7 +255,7 @@ Reduction context of the big number.
255
255
  ```ts
256
256
  public red: ReductionContext | null
257
257
  ```
258
- See also: [ReductionContext](./primitives.md#class-reductioncontext)
258
+ See also: [ReductionContext](#class-reductioncontext)
259
259
 
260
260
  #### Property wordSize
261
261
 
@@ -279,7 +279,7 @@ The multiplicative inverse is a number which when multiplied with the current Bi
279
279
  ```ts
280
280
  _invmp(p: BigNumber): BigNumber
281
281
  ```
282
- See also: [BigNumber](./primitives.md#class-bignumber)
282
+ See also: [BigNumber](#class-bignumber)
283
283
 
284
284
  Returns
285
285
 
@@ -323,7 +323,7 @@ Creates a BigNumber from a number representing the "bits" value in a block heade
323
323
  ```ts
324
324
  static fromBits(bits: number, strict: boolean = false): BigNumber
325
325
  ```
326
- See also: [BigNumber](./primitives.md#class-bignumber)
326
+ See also: [BigNumber](#class-bignumber)
327
327
 
328
328
  Returns
329
329
 
@@ -347,7 +347,7 @@ Creates a BigNumber from a hexadecimal string.
347
347
  ```ts
348
348
  static fromHex(hex: string, endian?: "le" | "be" | "little" | "big"): BigNumber
349
349
  ```
350
- See also: [BigNumber](./primitives.md#class-bignumber)
350
+ See also: [BigNumber](#class-bignumber)
351
351
 
352
352
  Returns
353
353
 
@@ -374,7 +374,7 @@ Creates a BigNumber from a JSON-serialized string.
374
374
  ```ts
375
375
  static fromJSON(str: string): BigNumber
376
376
  ```
377
- See also: [BigNumber](./primitives.md#class-bignumber)
377
+ See also: [BigNumber](#class-bignumber)
378
378
 
379
379
  Returns
380
380
 
@@ -392,7 +392,7 @@ Creates a BigNumber from a number.
392
392
  ```ts
393
393
  static fromNumber(n: number): BigNumber
394
394
  ```
395
- See also: [BigNumber](./primitives.md#class-bignumber)
395
+ See also: [BigNumber](#class-bignumber)
396
396
 
397
397
  Returns
398
398
 
@@ -410,7 +410,7 @@ Creates a BigNumber from the format used in Bitcoin scripts.
410
410
  ```ts
411
411
  static fromScriptNum(num: number[], requireMinimal: boolean = false, maxNumSize?: number): BigNumber
412
412
  ```
413
- See also: [BigNumber](./primitives.md#class-bignumber)
413
+ See also: [BigNumber](#class-bignumber)
414
414
 
415
415
  Returns
416
416
 
@@ -432,7 +432,7 @@ Creates a BigNumber from a signed magnitude number.
432
432
  ```ts
433
433
  static fromSm(bytes: number[], endian: "big" | "little" = "big"): BigNumber
434
434
  ```
435
- See also: [BigNumber](./primitives.md#class-bignumber)
435
+ See also: [BigNumber](#class-bignumber)
436
436
 
437
437
  Returns
438
438
 
@@ -452,7 +452,7 @@ Creates a BigNumber from a string, considering an optional base.
452
452
  ```ts
453
453
  static fromString(str: string, base?: number | "hex"): BigNumber
454
454
  ```
455
- See also: [BigNumber](./primitives.md#class-bignumber)
455
+ See also: [BigNumber](#class-bignumber)
456
456
 
457
457
  Returns
458
458
 
@@ -489,7 +489,7 @@ Returns the bigger value between two BigNumbers
489
489
  ```ts
490
490
  static max(left: BigNumber, right: BigNumber): BigNumber
491
491
  ```
492
- See also: [BigNumber](./primitives.md#class-bignumber)
492
+ See also: [BigNumber](#class-bignumber)
493
493
 
494
494
  Returns
495
495
 
@@ -509,7 +509,7 @@ Returns the smaller value between two BigNumbers
509
509
  ```ts
510
510
  static min(left: BigNumber, right: BigNumber): BigNumber
511
511
  ```
512
- See also: [BigNumber](./primitives.md#class-bignumber)
512
+ See also: [BigNumber](#class-bignumber)
513
513
 
514
514
  Returns
515
515
 
@@ -530,7 +530,7 @@ It chooses the multiplication method based on the lengths of the numbers to opti
530
530
  ```ts
531
531
  mulTo(num: BigNumber, out: BigNumber): BigNumber
532
532
  ```
533
- See also: [BigNumber](./primitives.md#class-bignumber)
533
+ See also: [BigNumber](#class-bignumber)
534
534
 
535
535
  Returns
536
536
 
@@ -569,7 +569,7 @@ Converts a BigNumber to an array of bits.
569
569
  ```ts
570
570
  static toBitArray(num: BigNumber): Array<0 | 1>
571
571
  ```
572
- See also: [BigNumber](./primitives.md#class-bignumber)
572
+ See also: [BigNumber](#class-bignumber)
573
573
 
574
574
  Returns
575
575
 
@@ -787,7 +787,7 @@ export default class Curve {
787
787
  }
788
788
  ```
789
789
 
790
- See also: [BigNumber](./primitives.md#class-bignumber), [Point](./primitives.md#class-point), [ReductionContext](./primitives.md#class-reductioncontext), [red](./primitives.md#function-red)
790
+ See also: [BigNumber](#class-bignumber), [Point](#class-point), [ReductionContext](#class-reductioncontext), [red](#function-red)
791
791
 
792
792
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
793
793
 
@@ -813,7 +813,7 @@ export default class DRBG {
813
813
  }
814
814
  ```
815
815
 
816
- See also: [SHA256HMAC](./primitives.md#class-sha256hmac)
816
+ See also: [SHA256HMAC](#class-sha256hmac)
817
817
 
818
818
  #### Method generate
819
819
 
@@ -846,7 +846,7 @@ Generates HMAC using the K value of the instance. This method is used internally
846
846
  ```ts
847
847
  hmac(): SHA256HMAC
848
848
  ```
849
- See also: [SHA256HMAC](./primitives.md#class-sha256hmac)
849
+ See also: [SHA256HMAC](#class-sha256hmac)
850
850
 
851
851
  Returns
852
852
 
@@ -918,7 +918,7 @@ export default class JacobianPoint extends BasePoint {
918
918
  }
919
919
  ```
920
920
 
921
- See also: [BasePoint](./primitives.md#class-basepoint), [BigNumber](./primitives.md#class-bignumber), [Point](./primitives.md#class-point)
921
+ See also: [BasePoint](#class-basepoint), [BigNumber](#class-bignumber), [Point](#class-point)
922
922
 
923
923
  #### Constructor
924
924
 
@@ -927,7 +927,7 @@ Constructs a new `JacobianPoint` instance.
927
927
  ```ts
928
928
  constructor(x: string | BigNumber | null, y: string | BigNumber | null, z: string | BigNumber | null)
929
929
  ```
930
- See also: [BigNumber](./primitives.md#class-bignumber)
930
+ See also: [BigNumber](#class-bignumber)
931
931
 
932
932
  Argument Details
933
933
 
@@ -955,7 +955,7 @@ The `x` coordinate of the point in the Jacobian form.
955
955
  ```ts
956
956
  x: BigNumber
957
957
  ```
958
- See also: [BigNumber](./primitives.md#class-bignumber)
958
+ See also: [BigNumber](#class-bignumber)
959
959
 
960
960
  #### Property y
961
961
 
@@ -964,7 +964,7 @@ The `y` coordinate of the point in the Jacobian form.
964
964
  ```ts
965
965
  y: BigNumber
966
966
  ```
967
- See also: [BigNumber](./primitives.md#class-bignumber)
967
+ See also: [BigNumber](#class-bignumber)
968
968
 
969
969
  #### Property z
970
970
 
@@ -973,7 +973,7 @@ The `z` coordinate of the point in the Jacobian form.
973
973
  ```ts
974
974
  z: BigNumber
975
975
  ```
976
- See also: [BigNumber](./primitives.md#class-bignumber)
976
+ See also: [BigNumber](#class-bignumber)
977
977
 
978
978
  #### Property zOne
979
979
 
@@ -992,7 +992,7 @@ when either one of the points is the point at infinity, it will return the other
992
992
  ```ts
993
993
  add(p: JacobianPoint): JacobianPoint
994
994
  ```
995
- See also: [JacobianPoint](./primitives.md#class-jacobianpoint)
995
+ See also: [JacobianPoint](#class-jacobianpoint)
996
996
 
997
997
  Returns
998
998
 
@@ -1018,7 +1018,7 @@ Point doubling operation in the Jacobian coordinates. A special case is when the
1018
1018
  ```ts
1019
1019
  dbl(): JacobianPoint
1020
1020
  ```
1021
- See also: [JacobianPoint](./primitives.md#class-jacobianpoint)
1021
+ See also: [JacobianPoint](#class-jacobianpoint)
1022
1022
 
1023
1023
  Returns
1024
1024
 
@@ -1038,7 +1038,7 @@ Multiple doubling operation. It doubles the Jacobian point as many times as the
1038
1038
  ```ts
1039
1039
  dblp(pow: number): JacobianPoint
1040
1040
  ```
1041
- See also: [JacobianPoint](./primitives.md#class-jacobianpoint)
1041
+ See also: [JacobianPoint](#class-jacobianpoint)
1042
1042
 
1043
1043
  Returns
1044
1044
 
@@ -1063,7 +1063,7 @@ Equality check operation. It checks whether the affine or Jacobian point is equa
1063
1063
  ```ts
1064
1064
  eq(p: Point | JacobianPoint): boolean
1065
1065
  ```
1066
- See also: [JacobianPoint](./primitives.md#class-jacobianpoint), [Point](./primitives.md#class-point)
1066
+ See also: [JacobianPoint](#class-jacobianpoint), [Point](#class-point)
1067
1067
 
1068
1068
  Returns
1069
1069
 
@@ -1091,7 +1091,7 @@ of a point in projective coordinates.
1091
1091
  ```ts
1092
1092
  eqXToP(x: BigNumber): boolean
1093
1093
  ```
1094
- See also: [BigNumber](./primitives.md#class-bignumber)
1094
+ See also: [BigNumber](#class-bignumber)
1095
1095
 
1096
1096
  Returns
1097
1097
 
@@ -1156,7 +1156,7 @@ the affine point to Jacobian, and then preforms the addition.
1156
1156
  ```ts
1157
1157
  mixedAdd(p: Point): JacobianPoint
1158
1158
  ```
1159
- See also: [JacobianPoint](./primitives.md#class-jacobianpoint), [Point](./primitives.md#class-point)
1159
+ See also: [JacobianPoint](#class-jacobianpoint), [Point](#class-point)
1160
1160
 
1161
1161
  Returns
1162
1162
 
@@ -1182,7 +1182,7 @@ Negation operation. It returns the additive inverse of the Jacobian point.
1182
1182
  ```ts
1183
1183
  neg(): JacobianPoint
1184
1184
  ```
1185
- See also: [JacobianPoint](./primitives.md#class-jacobianpoint)
1185
+ See also: [JacobianPoint](#class-jacobianpoint)
1186
1186
 
1187
1187
  Returns
1188
1188
 
@@ -1202,7 +1202,7 @@ Converts the `JacobianPoint` object instance to standard affine `Point` format a
1202
1202
  ```ts
1203
1203
  toP(): Point
1204
1204
  ```
1205
- See also: [Point](./primitives.md#class-point)
1205
+ See also: [Point](#class-point)
1206
1206
 
1207
1207
  Returns
1208
1208
 
@@ -1240,7 +1240,7 @@ export default class K256 extends Mersenne {
1240
1240
  }
1241
1241
  ```
1242
1242
 
1243
- See also: [BigNumber](./primitives.md#class-bignumber), [Mersenne](./primitives.md#class-mersenne)
1243
+ See also: [BigNumber](#class-bignumber), [Mersenne](#class-mersenne)
1244
1244
 
1245
1245
  #### Constructor
1246
1246
 
@@ -1265,7 +1265,7 @@ Multiplies a BigNumber ('num') with the constant 'K' in-place and returns the re
1265
1265
  ```ts
1266
1266
  imulK(num: BigNumber): BigNumber
1267
1267
  ```
1268
- See also: [BigNumber](./primitives.md#class-bignumber)
1268
+ See also: [BigNumber](#class-bignumber)
1269
1269
 
1270
1270
  Returns
1271
1271
 
@@ -1291,7 +1291,7 @@ rules. This method modifies the input and output big numbers.
1291
1291
  ```ts
1292
1292
  split(input: BigNumber, output: BigNumber): void
1293
1293
  ```
1294
- See also: [BigNumber](./primitives.md#class-bignumber)
1294
+ See also: [BigNumber](#class-bignumber)
1295
1295
 
1296
1296
  Argument Details
1297
1297
 
@@ -1330,7 +1330,7 @@ export class KeyShares {
1330
1330
  }
1331
1331
  ```
1332
1332
 
1333
- See also: [PointInFiniteField](./primitives.md#class-pointinfinitefield)
1333
+ See also: [PointInFiniteField](#class-pointinfinitefield)
1334
1334
 
1335
1335
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
1336
1336
 
@@ -1353,7 +1353,7 @@ export default class Mersenne {
1353
1353
  }
1354
1354
  ```
1355
1355
 
1356
- See also: [BigNumber](./primitives.md#class-bignumber)
1356
+ See also: [BigNumber](#class-bignumber)
1357
1357
 
1358
1358
  #### Constructor
1359
1359
 
@@ -1381,7 +1381,7 @@ The constant subtracted from 2^n to derive a pseudo-Mersenne prime.
1381
1381
  ```ts
1382
1382
  k: BigNumber
1383
1383
  ```
1384
- See also: [BigNumber](./primitives.md#class-bignumber)
1384
+ See also: [BigNumber](#class-bignumber)
1385
1385
 
1386
1386
  #### Property n
1387
1387
 
@@ -1406,7 +1406,7 @@ BigNumber equivalent to 2^n - k.
1406
1406
  ```ts
1407
1407
  p: BigNumber
1408
1408
  ```
1409
- See also: [BigNumber](./primitives.md#class-bignumber)
1409
+ See also: [BigNumber](#class-bignumber)
1410
1410
 
1411
1411
  #### Method imulK
1412
1412
 
@@ -1415,7 +1415,7 @@ Performs an in-place multiplication of the parameter by constant k.
1415
1415
  ```ts
1416
1416
  imulK(num: BigNumber): BigNumber
1417
1417
  ```
1418
- See also: [BigNumber](./primitives.md#class-bignumber)
1418
+ See also: [BigNumber](#class-bignumber)
1419
1419
 
1420
1420
  Returns
1421
1421
 
@@ -1440,7 +1440,7 @@ it is less than the square of the pseudo-Mersenne prime.
1440
1440
  ```ts
1441
1441
  ireduce(num: BigNumber): BigNumber
1442
1442
  ```
1443
- See also: [BigNumber](./primitives.md#class-bignumber)
1443
+ See also: [BigNumber](#class-bignumber)
1444
1444
 
1445
1445
  Returns
1446
1446
 
@@ -1465,7 +1465,7 @@ to meet the magnitude of the pseudo-Mersenne prime.
1465
1465
  ```ts
1466
1466
  split(input: BigNumber, out: BigNumber): void
1467
1467
  ```
1468
- See also: [BigNumber](./primitives.md#class-bignumber)
1468
+ See also: [BigNumber](#class-bignumber)
1469
1469
 
1470
1470
  Argument Details
1471
1471
 
@@ -1510,14 +1510,14 @@ export default class MontgomoryMethod extends ReductionContext {
1510
1510
  }
1511
1511
  ```
1512
1512
 
1513
- See also: [BigNumber](./primitives.md#class-bignumber), [ReductionContext](./primitives.md#class-reductioncontext)
1513
+ See also: [BigNumber](#class-bignumber), [ReductionContext](#class-reductioncontext)
1514
1514
 
1515
1515
  #### Constructor
1516
1516
 
1517
1517
  ```ts
1518
1518
  constructor(m: BigNumber | "k256")
1519
1519
  ```
1520
- See also: [BigNumber](./primitives.md#class-bignumber)
1520
+ See also: [BigNumber](#class-bignumber)
1521
1521
 
1522
1522
  Argument Details
1523
1523
 
@@ -1531,7 +1531,7 @@ The modular multiplicative inverse of `m` mod `r`.
1531
1531
  ```ts
1532
1532
  minv: BigNumber
1533
1533
  ```
1534
- See also: [BigNumber](./primitives.md#class-bignumber)
1534
+ See also: [BigNumber](#class-bignumber)
1535
1535
 
1536
1536
  #### Property r
1537
1537
 
@@ -1540,7 +1540,7 @@ The 2^shift, shifted left by the bit length of modulus `m`.
1540
1540
  ```ts
1541
1541
  r: BigNumber
1542
1542
  ```
1543
- See also: [BigNumber](./primitives.md#class-bignumber)
1543
+ See also: [BigNumber](#class-bignumber)
1544
1544
 
1545
1545
  #### Property r2
1546
1546
 
@@ -1549,7 +1549,7 @@ The square of `r` modulo `m`.
1549
1549
  ```ts
1550
1550
  r2: BigNumber
1551
1551
  ```
1552
- See also: [BigNumber](./primitives.md#class-bignumber)
1552
+ See also: [BigNumber](#class-bignumber)
1553
1553
 
1554
1554
  #### Property rinv
1555
1555
 
@@ -1558,7 +1558,7 @@ The modular multiplicative inverse of `r` mod `m`.
1558
1558
  ```ts
1559
1559
  rinv: BigNumber
1560
1560
  ```
1561
- See also: [BigNumber](./primitives.md#class-bignumber)
1561
+ See also: [BigNumber](#class-bignumber)
1562
1562
 
1563
1563
  #### Property shift
1564
1564
 
@@ -1575,7 +1575,7 @@ Converts a number from the Montgomery domain back to the original domain.
1575
1575
  ```ts
1576
1576
  convertFrom(num: BigNumber): BigNumber
1577
1577
  ```
1578
- See also: [BigNumber](./primitives.md#class-bignumber)
1578
+ See also: [BigNumber](#class-bignumber)
1579
1579
 
1580
1580
  Returns
1581
1581
 
@@ -1600,7 +1600,7 @@ Converts a number into the Montgomery domain.
1600
1600
  ```ts
1601
1601
  convertTo(num: BigNumber): BigNumber
1602
1602
  ```
1603
- See also: [BigNumber](./primitives.md#class-bignumber)
1603
+ See also: [BigNumber](#class-bignumber)
1604
1604
 
1605
1605
  Returns
1606
1606
 
@@ -1625,7 +1625,7 @@ Performs an in-place multiplication of two numbers in the Montgomery domain.
1625
1625
  ```ts
1626
1626
  imul(a: BigNumber, b: BigNumber): BigNumber
1627
1627
  ```
1628
- See also: [BigNumber](./primitives.md#class-bignumber)
1628
+ See also: [BigNumber](#class-bignumber)
1629
1629
 
1630
1630
  Returns
1631
1631
 
@@ -1652,7 +1652,7 @@ Calculates the modular multiplicative inverse of a number in the Montgomery doma
1652
1652
  ```ts
1653
1653
  invm(a: BigNumber): BigNumber
1654
1654
  ```
1655
- See also: [BigNumber](./primitives.md#class-bignumber)
1655
+ See also: [BigNumber](#class-bignumber)
1656
1656
 
1657
1657
  Returns
1658
1658
 
@@ -1677,7 +1677,7 @@ Performs the multiplication of two numbers in the Montgomery domain.
1677
1677
  ```ts
1678
1678
  mul(a: BigNumber, b: BigNumber): BigNumber
1679
1679
  ```
1680
- See also: [BigNumber](./primitives.md#class-bignumber)
1680
+ See also: [BigNumber](#class-bignumber)
1681
1681
 
1682
1682
  Returns
1683
1683
 
@@ -1749,14 +1749,14 @@ export default class Point extends BasePoint {
1749
1749
  }
1750
1750
  ```
1751
1751
 
1752
- See also: [BasePoint](./primitives.md#class-basepoint), [BigNumber](./primitives.md#class-bignumber), [encode](./primitives.md#variable-encode)
1752
+ See also: [BasePoint](#class-basepoint), [BigNumber](#class-bignumber), [encode](#variable-encode)
1753
1753
 
1754
1754
  #### Constructor
1755
1755
 
1756
1756
  ```ts
1757
1757
  constructor(x: BigNumber | number | number[] | string | null, y: BigNumber | number | number[] | string | null, isRed: boolean = true)
1758
1758
  ```
1759
- See also: [BigNumber](./primitives.md#class-bignumber)
1759
+ See also: [BigNumber](#class-bignumber)
1760
1760
 
1761
1761
  Argument Details
1762
1762
 
@@ -1789,7 +1789,7 @@ The x-coordinate of the point.
1789
1789
  ```ts
1790
1790
  x: BigNumber | null
1791
1791
  ```
1792
- See also: [BigNumber](./primitives.md#class-bignumber)
1792
+ See also: [BigNumber](#class-bignumber)
1793
1793
 
1794
1794
  #### Property y
1795
1795
 
@@ -1798,7 +1798,7 @@ The y-coordinate of the point.
1798
1798
  ```ts
1799
1799
  y: BigNumber | null
1800
1800
  ```
1801
- See also: [BigNumber](./primitives.md#class-bignumber)
1801
+ See also: [BigNumber](#class-bignumber)
1802
1802
 
1803
1803
  #### Method add
1804
1804
 
@@ -1807,7 +1807,7 @@ Adds another Point to this Point, returning a new Point.
1807
1807
  ```ts
1808
1808
  add(p: Point): Point
1809
1809
  ```
1810
- See also: [Point](./primitives.md#class-point)
1810
+ See also: [Point](#class-point)
1811
1811
 
1812
1812
  Returns
1813
1813
 
@@ -1833,7 +1833,7 @@ Doubles the current point.
1833
1833
  ```ts
1834
1834
  dbl(): Point
1835
1835
  ```
1836
- See also: [Point](./primitives.md#class-point)
1836
+ See also: [Point](#class-point)
1837
1837
 
1838
1838
  Example
1839
1839
 
@@ -1852,7 +1852,7 @@ a point at infinity is still infinity.
1852
1852
  ```ts
1853
1853
  dblp(k: number): Point
1854
1854
  ```
1855
- See also: [Point](./primitives.md#class-point)
1855
+ See also: [Point](#class-point)
1856
1856
 
1857
1857
  Returns
1858
1858
 
@@ -1909,7 +1909,7 @@ Checks if the Point instance is equal to another given Point.
1909
1909
  ```ts
1910
1910
  eq(p: Point): boolean
1911
1911
  ```
1912
- See also: [Point](./primitives.md#class-point)
1912
+ See also: [Point](#class-point)
1913
1913
 
1914
1914
  Returns
1915
1915
 
@@ -1937,7 +1937,7 @@ The function verifies the integrity of the provided data and throws errors if in
1937
1937
  ```ts
1938
1938
  static fromDER(bytes: number[]): Point
1939
1939
  ```
1940
- See also: [Point](./primitives.md#class-point)
1940
+ See also: [Point](#class-point)
1941
1941
 
1942
1942
  Returns
1943
1943
 
@@ -1970,7 +1970,7 @@ JSON points into proper Point objects.
1970
1970
  ```ts
1971
1971
  static fromJSON(obj: string | any[], isRed: boolean): Point
1972
1972
  ```
1973
- See also: [Point](./primitives.md#class-point)
1973
+ See also: [Point](#class-point)
1974
1974
 
1975
1975
  Returns
1976
1976
 
@@ -1999,7 +1999,7 @@ The function verifies the integrity of the provided data and throws errors if in
1999
1999
  ```ts
2000
2000
  static fromString(str: string): Point
2001
2001
  ```
2002
- See also: [Point](./primitives.md#class-point)
2002
+ See also: [Point](#class-point)
2003
2003
 
2004
2004
  Returns
2005
2005
 
@@ -2031,7 +2031,7 @@ y coordinate is odd.
2031
2031
  ```ts
2032
2032
  static fromX(x: BigNumber | number | number[] | string, odd: boolean): Point
2033
2033
  ```
2034
- See also: [BigNumber](./primitives.md#class-bignumber), [Point](./primitives.md#class-point)
2034
+ See also: [BigNumber](#class-bignumber), [Point](#class-point)
2035
2035
 
2036
2036
  Returns
2037
2037
 
@@ -2062,7 +2062,7 @@ Returns X coordinate of point
2062
2062
  ```ts
2063
2063
  getX(): BigNumber
2064
2064
  ```
2065
- See also: [BigNumber](./primitives.md#class-bignumber)
2065
+ See also: [BigNumber](#class-bignumber)
2066
2066
 
2067
2067
  Example
2068
2068
 
@@ -2078,7 +2078,7 @@ Returns X coordinate of point
2078
2078
  ```ts
2079
2079
  getY(): BigNumber
2080
2080
  ```
2081
- See also: [BigNumber](./primitives.md#class-bignumber)
2081
+ See also: [BigNumber](#class-bignumber)
2082
2082
 
2083
2083
  Example
2084
2084
 
@@ -2133,7 +2133,7 @@ step. Instead of returning a regular Point, the result is a JacobianPoint.
2133
2133
  ```ts
2134
2134
  jmulAdd(k1: BigNumber, p2: Point, k2: BigNumber): JPoint
2135
2135
  ```
2136
- See also: [BigNumber](./primitives.md#class-bignumber), [Point](./primitives.md#class-point)
2136
+ See also: [BigNumber](#class-bignumber), [Point](#class-point)
2137
2137
 
2138
2138
  Returns
2139
2139
 
@@ -2163,7 +2163,7 @@ Multiplies this Point by a scalar value, returning a new Point.
2163
2163
  ```ts
2164
2164
  mul(k: BigNumber | number | number[] | string): Point
2165
2165
  ```
2166
- See also: [BigNumber](./primitives.md#class-bignumber), [Point](./primitives.md#class-point)
2166
+ See also: [BigNumber](#class-bignumber), [Point](#class-point)
2167
2167
 
2168
2168
  Returns
2169
2169
 
@@ -2189,7 +2189,7 @@ Multiplies this Point by k1, adds the resulting Point to the result of p2 multip
2189
2189
  ```ts
2190
2190
  mulAdd(k1: BigNumber, p2: Point, k2: BigNumber): Point
2191
2191
  ```
2192
- See also: [BigNumber](./primitives.md#class-bignumber), [Point](./primitives.md#class-point)
2192
+ See also: [BigNumber](#class-bignumber), [Point](#class-point)
2193
2193
 
2194
2194
  Returns
2195
2195
 
@@ -2219,7 +2219,7 @@ Negate a point. The negation of a point P is the mirror of P about x-axis.
2219
2219
  ```ts
2220
2220
  neg(_precompute?: boolean): Point
2221
2221
  ```
2222
- See also: [Point](./primitives.md#class-point)
2222
+ See also: [Point](#class-point)
2223
2223
 
2224
2224
  Example
2225
2225
 
@@ -2268,7 +2268,7 @@ toJSON(): [
2268
2268
  }?
2269
2269
  ]
2270
2270
  ```
2271
- See also: [BigNumber](./primitives.md#class-bignumber)
2271
+ See also: [BigNumber](#class-bignumber)
2272
2272
 
2273
2273
  Returns
2274
2274
 
@@ -2338,7 +2338,7 @@ export class PointInFiniteField {
2338
2338
  }
2339
2339
  ```
2340
2340
 
2341
- See also: [BigNumber](./primitives.md#class-bignumber)
2341
+ See also: [BigNumber](#class-bignumber)
2342
2342
 
2343
2343
  #### Method toString
2344
2344
 
@@ -2376,7 +2376,7 @@ export default class Polynomial {
2376
2376
  }
2377
2377
  ```
2378
2378
 
2379
- See also: [BigNumber](./primitives.md#class-bignumber), [PointInFiniteField](./primitives.md#class-pointinfinitefield), [PrivateKey](./primitives.md#class-privatekey)
2379
+ See also: [BigNumber](#class-bignumber), [PointInFiniteField](#class-pointinfinitefield), [PrivateKey](#class-privatekey)
2380
2380
 
2381
2381
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
2382
2382
 
@@ -2416,14 +2416,14 @@ export default class PrivateKey extends BigNumber {
2416
2416
  }
2417
2417
  ```
2418
2418
 
2419
- See also: [BigNumber](./primitives.md#class-bignumber), [KeyShares](./primitives.md#class-keyshares), [Point](./primitives.md#class-point), [PublicKey](./primitives.md#class-publickey), [Signature](./primitives.md#class-signature), [modN](./primitives.md#variable-modn), [sign](./compat.md#variable-sign), [toHex](./primitives.md#variable-tohex), [verify](./compat.md#variable-verify)
2419
+ See also: [BigNumber](#class-bignumber), [KeyShares](#class-keyshares), [Point](#class-point), [PublicKey](#class-publickey), [Signature](#class-signature), [modN](#variable-modn), [sign](#variable-sign), [toHex](#variable-tohex), [verify](#variable-verify)
2420
2420
 
2421
2421
  #### Constructor
2422
2422
 
2423
2423
  ```ts
2424
2424
  constructor(number: BigNumber | number | string | number[] = 0, base: number | "be" | "le" | "hex" = 10, endian: "be" | "le" = "be", modN: "apply" | "nocheck" | "error" = "apply")
2425
2425
  ```
2426
- See also: [BigNumber](./primitives.md#class-bignumber), [modN](./primitives.md#variable-modn)
2426
+ See also: [BigNumber](#class-bignumber), [modN](#variable-modn)
2427
2427
 
2428
2428
  Argument Details
2429
2429
 
@@ -2454,7 +2454,7 @@ checkInField(): {
2454
2454
  modN: BigNumber;
2455
2455
  }
2456
2456
  ```
2457
- See also: [BigNumber](./primitives.md#class-bignumber), [modN](./primitives.md#variable-modn)
2457
+ See also: [BigNumber](#class-bignumber), [modN](#variable-modn)
2458
2458
 
2459
2459
  Returns
2460
2460
 
@@ -2467,7 +2467,7 @@ Derives a child key with BRC-42.
2467
2467
  ```ts
2468
2468
  deriveChild(publicKey: PublicKey, invoiceNumber: string, cacheSharedSecret?: ((priv: PrivateKey, pub: Point, point: Point) => void), retrieveCachedSharedSecret?: ((priv: PrivateKey, pub: Point) => (Point | undefined))): PrivateKey
2469
2469
  ```
2470
- See also: [Point](./primitives.md#class-point), [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
2470
+ See also: [Point](#class-point), [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
2471
2471
 
2472
2472
  Returns
2473
2473
 
@@ -2491,7 +2491,7 @@ Derives a shared secret from the public key.
2491
2491
  ```ts
2492
2492
  deriveSharedSecret(key: PublicKey): Point
2493
2493
  ```
2494
- See also: [Point](./primitives.md#class-point), [PublicKey](./primitives.md#class-publickey)
2494
+ See also: [Point](#class-point), [PublicKey](#class-publickey)
2495
2495
 
2496
2496
  Returns
2497
2497
 
@@ -2519,7 +2519,7 @@ const sharedSecret = privateKey.deriveSharedSecret(publicKey);
2519
2519
  ```ts
2520
2520
  static fromBackupShares(shares: string[]): PrivateKey
2521
2521
  ```
2522
- See also: [PrivateKey](./primitives.md#class-privatekey)
2522
+ See also: [PrivateKey](#class-privatekey)
2523
2523
 
2524
2524
  Returns
2525
2525
 
@@ -2541,7 +2541,7 @@ Generates a private key from a hexadecimal string.
2541
2541
  ```ts
2542
2542
  static fromHex(str: string): PrivateKey
2543
2543
  ```
2544
- See also: [PrivateKey](./primitives.md#class-privatekey)
2544
+ See also: [PrivateKey](#class-privatekey)
2545
2545
 
2546
2546
  Returns
2547
2547
 
@@ -2563,7 +2563,7 @@ Combines shares to reconstruct the private key.
2563
2563
  ```ts
2564
2564
  static fromKeyShares(keyShares: KeyShares): PrivateKey
2565
2565
  ```
2566
- See also: [KeyShares](./primitives.md#class-keyshares), [PrivateKey](./primitives.md#class-privatekey)
2566
+ See also: [KeyShares](#class-keyshares), [PrivateKey](#class-privatekey)
2567
2567
 
2568
2568
  Returns
2569
2569
 
@@ -2583,7 +2583,7 @@ Generates a private key randomly.
2583
2583
  ```ts
2584
2584
  static fromRandom(): PrivateKey
2585
2585
  ```
2586
- See also: [PrivateKey](./primitives.md#class-privatekey)
2586
+ See also: [PrivateKey](#class-privatekey)
2587
2587
 
2588
2588
  Returns
2589
2589
 
@@ -2602,7 +2602,7 @@ Generates a private key from a string.
2602
2602
  ```ts
2603
2603
  static fromString(str: string, base: number | "hex" = "hex"): PrivateKey
2604
2604
  ```
2605
- See also: [PrivateKey](./primitives.md#class-privatekey)
2605
+ See also: [PrivateKey](#class-privatekey)
2606
2606
 
2607
2607
  Returns
2608
2608
 
@@ -2626,7 +2626,7 @@ Generates a private key from a WIF (Wallet Import Format) string.
2626
2626
  ```ts
2627
2627
  static fromWif(wif: string, prefixLength: number = 1): PrivateKey
2628
2628
  ```
2629
- See also: [PrivateKey](./primitives.md#class-privatekey)
2629
+ See also: [PrivateKey](#class-privatekey)
2630
2630
 
2631
2631
  Returns
2632
2632
 
@@ -2660,7 +2660,7 @@ Signs a message using the private key.
2660
2660
  ```ts
2661
2661
  sign(msg: number[] | string, enc?: "hex" | "utf8", forceLowS: boolean = true, customK?: ((iter: number) => BigNumber) | BigNumber): Signature
2662
2662
  ```
2663
- See also: [BigNumber](./primitives.md#class-bignumber), [Signature](./primitives.md#class-signature)
2663
+ See also: [BigNumber](#class-bignumber), [Signature](#class-signature)
2664
2664
 
2665
2665
  Returns
2666
2666
 
@@ -2755,7 +2755,7 @@ Splits the private key into shares using Shamir's Secret Sharing Scheme.
2755
2755
  ```ts
2756
2756
  toKeyShares(threshold: number, totalShares: number): KeyShares
2757
2757
  ```
2758
- See also: [KeyShares](./primitives.md#class-keyshares)
2758
+ See also: [KeyShares](#class-keyshares)
2759
2759
 
2760
2760
  Returns
2761
2761
 
@@ -2786,7 +2786,7 @@ The public key is generated by multiplying the base point G of the curve and the
2786
2786
  ```ts
2787
2787
  toPublicKey(): PublicKey
2788
2788
  ```
2789
- See also: [PublicKey](./primitives.md#class-publickey)
2789
+ See also: [PublicKey](#class-publickey)
2790
2790
 
2791
2791
  Returns
2792
2792
 
@@ -2859,7 +2859,7 @@ Verifies a message's signature using the public key associated with this private
2859
2859
  ```ts
2860
2860
  verify(msg: number[] | string, sig: Signature, enc?: "hex"): boolean
2861
2861
  ```
2862
- See also: [Signature](./primitives.md#class-signature)
2862
+ See also: [Signature](#class-signature)
2863
2863
 
2864
2864
  Returns
2865
2865
 
@@ -2906,14 +2906,14 @@ export default class PublicKey extends Point {
2906
2906
  }
2907
2907
  ```
2908
2908
 
2909
- See also: [BigNumber](./primitives.md#class-bignumber), [Point](./primitives.md#class-point), [PrivateKey](./primitives.md#class-privatekey), [Signature](./primitives.md#class-signature), [verify](./compat.md#variable-verify)
2909
+ See also: [BigNumber](#class-bignumber), [Point](#class-point), [PrivateKey](#class-privatekey), [Signature](#class-signature), [verify](#variable-verify)
2910
2910
 
2911
2911
  #### Constructor
2912
2912
 
2913
2913
  ```ts
2914
2914
  constructor(x: Point | BigNumber | number | number[] | string | null, y: BigNumber | number | number[] | string | null = null, isRed: boolean = true)
2915
2915
  ```
2916
- See also: [BigNumber](./primitives.md#class-bignumber), [Point](./primitives.md#class-point)
2916
+ See also: [BigNumber](#class-bignumber), [Point](#class-point)
2917
2917
 
2918
2918
  Argument Details
2919
2919
 
@@ -2938,7 +2938,7 @@ Derives a child key with BRC-42.
2938
2938
  ```ts
2939
2939
  deriveChild(privateKey: PrivateKey, invoiceNumber: string, cacheSharedSecret?: ((priv: PrivateKey, pub: Point, point: Point) => void), retrieveCachedSharedSecret?: ((priv: PrivateKey, pub: Point) => (Point | undefined))): PublicKey
2940
2940
  ```
2941
- See also: [Point](./primitives.md#class-point), [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
2941
+ See also: [Point](#class-point), [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
2942
2942
 
2943
2943
  Returns
2944
2944
 
@@ -2963,7 +2963,7 @@ This method multiplies the public key (an instance of Point) with a private key.
2963
2963
  ```ts
2964
2964
  deriveSharedSecret(priv: PrivateKey): Point
2965
2965
  ```
2966
- See also: [Point](./primitives.md#class-point), [PrivateKey](./primitives.md#class-privatekey)
2966
+ See also: [Point](#class-point), [PrivateKey](#class-privatekey)
2967
2967
 
2968
2968
  Returns
2969
2969
 
@@ -2992,7 +2992,7 @@ Static factory method to create a PublicKey instance from a number array.
2992
2992
  ```ts
2993
2993
  static fromDER(bytes: number[]): PublicKey
2994
2994
  ```
2995
- See also: [PublicKey](./primitives.md#class-publickey)
2995
+ See also: [PublicKey](#class-publickey)
2996
2996
 
2997
2997
  Returns
2998
2998
 
@@ -3021,7 +3021,7 @@ The range represents the recovery param which can be 0,1,2,3.
3021
3021
  ```ts
3022
3022
  static fromMsgHashAndCompactSignature(msgHash: BigNumber, signature: number[] | string, enc?: "hex" | "base64"): PublicKey
3023
3023
  ```
3024
- See also: [BigNumber](./primitives.md#class-bignumber), [PublicKey](./primitives.md#class-publickey)
3024
+ See also: [BigNumber](#class-bignumber), [PublicKey](#class-publickey)
3025
3025
 
3026
3026
  Returns
3027
3027
 
@@ -3050,7 +3050,7 @@ It multiplies the generator point 'g' on the elliptic curve by the private key.
3050
3050
  ```ts
3051
3051
  static fromPrivateKey(key: PrivateKey): PublicKey
3052
3052
  ```
3053
- See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
3053
+ See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
3054
3054
 
3055
3055
  Returns
3056
3056
 
@@ -3075,7 +3075,7 @@ Static factory method to create a PublicKey instance from a string.
3075
3075
  ```ts
3076
3076
  static fromString(str: string): PublicKey
3077
3077
  ```
3078
- See also: [PublicKey](./primitives.md#class-publickey)
3078
+ See also: [PublicKey](#class-publickey)
3079
3079
 
3080
3080
  Returns
3081
3081
 
@@ -3167,7 +3167,7 @@ Verify a signature of a message using this public key.
3167
3167
  ```ts
3168
3168
  verify(msg: number[] | string, sig: Signature, enc?: "hex" | "utf8"): boolean
3169
3169
  ```
3170
- See also: [Signature](./primitives.md#class-signature)
3170
+ See also: [Signature](#class-signature)
3171
3171
 
3172
3172
  Returns
3173
3173
 
@@ -3256,7 +3256,7 @@ export class Reader {
3256
3256
  }
3257
3257
  ```
3258
3258
 
3259
- See also: [BigNumber](./primitives.md#class-bignumber)
3259
+ See also: [BigNumber](#class-bignumber)
3260
3260
 
3261
3261
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
3262
3262
 
@@ -3293,7 +3293,7 @@ export default class ReductionContext {
3293
3293
  }
3294
3294
  ```
3295
3295
 
3296
- See also: [BigNumber](./primitives.md#class-bignumber), [Mersenne](./primitives.md#class-mersenne)
3296
+ See also: [BigNumber](#class-bignumber), [Mersenne](#class-mersenne)
3297
3297
 
3298
3298
  #### Constructor
3299
3299
 
@@ -3302,7 +3302,7 @@ Constructs a new ReductionContext.
3302
3302
  ```ts
3303
3303
  constructor(m: BigNumber | "k256")
3304
3304
  ```
3305
- See also: [BigNumber](./primitives.md#class-bignumber)
3305
+ See also: [BigNumber](#class-bignumber)
3306
3306
 
3307
3307
  Argument Details
3308
3308
 
@@ -3323,7 +3323,7 @@ The modulus used for reduction operations.
3323
3323
  ```ts
3324
3324
  m: BigNumber
3325
3325
  ```
3326
- See also: [BigNumber](./primitives.md#class-bignumber)
3326
+ See also: [BigNumber](#class-bignumber)
3327
3327
 
3328
3328
  #### Property prime
3329
3329
 
@@ -3332,7 +3332,7 @@ The prime number utilised in the reduction context, typically an instance of Mer
3332
3332
  ```ts
3333
3333
  prime: Mersenne | null
3334
3334
  ```
3335
- See also: [Mersenne](./primitives.md#class-mersenne)
3335
+ See also: [Mersenne](#class-mersenne)
3336
3336
 
3337
3337
  #### Method add
3338
3338
 
@@ -3341,7 +3341,7 @@ Performs the addition operation on two BigNumbers in the reduction context.
3341
3341
  ```ts
3342
3342
  add(a: BigNumber, b: BigNumber): BigNumber
3343
3343
  ```
3344
- See also: [BigNumber](./primitives.md#class-bignumber)
3344
+ See also: [BigNumber](#class-bignumber)
3345
3345
 
3346
3346
  Returns
3347
3347
 
@@ -3368,7 +3368,7 @@ Converts a BigNumber from reduction context to its regular form.
3368
3368
  ```ts
3369
3369
  convertFrom(num: BigNumber): BigNumber
3370
3370
  ```
3371
- See also: [BigNumber](./primitives.md#class-bignumber)
3371
+ See also: [BigNumber](#class-bignumber)
3372
3372
 
3373
3373
  Returns
3374
3374
 
@@ -3394,7 +3394,7 @@ Converts a BigNumber to its equivalent in the reduction context.
3394
3394
  ```ts
3395
3395
  convertTo(num: BigNumber): BigNumber
3396
3396
  ```
3397
- See also: [BigNumber](./primitives.md#class-bignumber)
3397
+ See also: [BigNumber](#class-bignumber)
3398
3398
 
3399
3399
  Returns
3400
3400
 
@@ -3420,7 +3420,7 @@ in order to avoid creating a new BigNumber, it modifies the first one with the r
3420
3420
  ```ts
3421
3421
  iadd(a: BigNumber, b: BigNumber): BigNumber
3422
3422
  ```
3423
- See also: [BigNumber](./primitives.md#class-bignumber)
3423
+ See also: [BigNumber](#class-bignumber)
3424
3424
 
3425
3425
  Returns
3426
3426
 
@@ -3448,7 +3448,7 @@ Performs an in-place reduction of the given BigNumber by the modulus of the redu
3448
3448
  ```ts
3449
3449
  imod(a: BigNumber): BigNumber
3450
3450
  ```
3451
- See also: [BigNumber](./primitives.md#class-bignumber)
3451
+ See also: [BigNumber](#class-bignumber)
3452
3452
 
3453
3453
  Returns
3454
3454
 
@@ -3474,7 +3474,7 @@ modifying the first BigNumber with the result.
3474
3474
  ```ts
3475
3475
  imul(a: BigNumber, b: BigNumber): BigNumber
3476
3476
  ```
3477
- See also: [BigNumber](./primitives.md#class-bignumber)
3477
+ See also: [BigNumber](#class-bignumber)
3478
3478
 
3479
3479
  Returns
3480
3480
 
@@ -3502,7 +3502,7 @@ Calculates the multiplicative inverse of a BigNumber in the reduction context.
3502
3502
  ```ts
3503
3503
  invm(a: BigNumber): BigNumber
3504
3504
  ```
3505
- See also: [BigNumber](./primitives.md#class-bignumber)
3505
+ See also: [BigNumber](#class-bignumber)
3506
3506
 
3507
3507
  Returns
3508
3508
 
@@ -3528,7 +3528,7 @@ modifying the original BigNumber with the result.
3528
3528
  ```ts
3529
3529
  isqr(a: BigNumber): BigNumber
3530
3530
  ```
3531
- See also: [BigNumber](./primitives.md#class-bignumber)
3531
+ See also: [BigNumber](#class-bignumber)
3532
3532
 
3533
3533
  Returns
3534
3534
 
@@ -3555,7 +3555,7 @@ it modifies the first BigNumber with the result.
3555
3555
  ```ts
3556
3556
  isub(a: BigNumber, b: BigNumber): BigNumber
3557
3557
  ```
3558
- See also: [BigNumber](./primitives.md#class-bignumber)
3558
+ See also: [BigNumber](#class-bignumber)
3559
3559
 
3560
3560
  Returns
3561
3561
 
@@ -3583,7 +3583,7 @@ Multiplies two BigNumbers in the reduction context.
3583
3583
  ```ts
3584
3584
  mul(a: BigNumber, b: BigNumber): BigNumber
3585
3585
  ```
3586
- See also: [BigNumber](./primitives.md#class-bignumber)
3586
+ See also: [BigNumber](#class-bignumber)
3587
3587
 
3588
3588
  Returns
3589
3589
 
@@ -3610,7 +3610,7 @@ Negates a BigNumber in the context of the modulus.
3610
3610
  ```ts
3611
3611
  neg(a: BigNumber): BigNumber
3612
3612
  ```
3613
- See also: [BigNumber](./primitives.md#class-bignumber)
3613
+ See also: [BigNumber](#class-bignumber)
3614
3614
 
3615
3615
  Returns
3616
3616
 
@@ -3635,7 +3635,7 @@ Raises a BigNumber to a power in the reduction context.
3635
3635
  ```ts
3636
3636
  pow(a: BigNumber, num: BigNumber): BigNumber
3637
3637
  ```
3638
- See also: [BigNumber](./primitives.md#class-bignumber)
3638
+ See also: [BigNumber](#class-bignumber)
3639
3639
 
3640
3640
  Returns
3641
3641
 
@@ -3662,7 +3662,7 @@ Performs bitwise shift left operation on a BigNumber in the reduction context.
3662
3662
  ```ts
3663
3663
  shl(a: BigNumber, num: number): BigNumber
3664
3664
  ```
3665
- See also: [BigNumber](./primitives.md#class-bignumber)
3665
+ See also: [BigNumber](#class-bignumber)
3666
3666
 
3667
3667
  Returns
3668
3668
 
@@ -3689,7 +3689,7 @@ Calculates the square of a BigNumber in the reduction context.
3689
3689
  ```ts
3690
3690
  sqr(a: BigNumber): BigNumber
3691
3691
  ```
3692
- See also: [BigNumber](./primitives.md#class-bignumber)
3692
+ See also: [BigNumber](#class-bignumber)
3693
3693
 
3694
3694
  Returns
3695
3695
 
@@ -3714,7 +3714,7 @@ Calculates the square root of a BigNumber in the reduction context.
3714
3714
  ```ts
3715
3715
  sqrt(a: BigNumber): BigNumber
3716
3716
  ```
3717
- See also: [BigNumber](./primitives.md#class-bignumber)
3717
+ See also: [BigNumber](#class-bignumber)
3718
3718
 
3719
3719
  Returns
3720
3720
 
@@ -3739,7 +3739,7 @@ Subtracts one BigNumber from another BigNumber in the reduction context.
3739
3739
  ```ts
3740
3740
  sub(a: BigNumber, b: BigNumber): BigNumber
3741
3741
  ```
3742
- See also: [BigNumber](./primitives.md#class-bignumber)
3742
+ See also: [BigNumber](#class-bignumber)
3743
3743
 
3744
3744
  Returns
3745
3745
 
@@ -3767,7 +3767,7 @@ conditions are not met.
3767
3767
  ```ts
3768
3768
  verify1(a: BigNumber): void
3769
3769
  ```
3770
- See also: [BigNumber](./primitives.md#class-bignumber)
3770
+ See also: [BigNumber](#class-bignumber)
3771
3771
 
3772
3772
  Argument Details
3773
3773
 
@@ -3791,7 +3791,7 @@ conditions are not met.
3791
3791
  ```ts
3792
3792
  verify2(a: BigNumber, b: BigNumber): void
3793
3793
  ```
3794
- See also: [BigNumber](./primitives.md#class-bignumber)
3794
+ See also: [BigNumber](#class-bignumber)
3795
3795
 
3796
3796
  Argument Details
3797
3797
 
@@ -3877,7 +3877,7 @@ export class SHA1HMAC {
3877
3877
  }
3878
3878
  ```
3879
3879
 
3880
- See also: [SHA1](./primitives.md#class-sha1)
3880
+ See also: [SHA1](#class-sha1)
3881
3881
 
3882
3882
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
3883
3883
 
@@ -4008,7 +4008,7 @@ Updates the `SHA256HMAC` object with part of the message to be hashed.
4008
4008
  ```ts
4009
4009
  update(msg: number[] | string, enc?: "hex"): SHA256HMAC
4010
4010
  ```
4011
- See also: [SHA256HMAC](./primitives.md#class-sha256hmac)
4011
+ See also: [SHA256HMAC](#class-sha256hmac)
4012
4012
 
4013
4013
  Returns
4014
4014
 
@@ -4156,7 +4156,7 @@ Updates the `SHA512HMAC` object with part of the message to be hashed.
4156
4156
  ```ts
4157
4157
  update(msg: number[] | string, enc?: "hex" | "utf8"): SHA512HMAC
4158
4158
  ```
4159
- See also: [SHA512HMAC](./primitives.md#class-sha512hmac)
4159
+ See also: [SHA512HMAC](#class-sha512hmac)
4160
4160
 
4161
4161
  Returns
4162
4162
 
@@ -4225,7 +4225,7 @@ export default class Schnorr {
4225
4225
  }
4226
4226
  ```
4227
4227
 
4228
- See also: [BigNumber](./primitives.md#class-bignumber), [Point](./primitives.md#class-point), [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
4228
+ See also: [BigNumber](#class-bignumber), [Point](#class-point), [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
4229
4229
 
4230
4230
  #### Method generateProof
4231
4231
 
@@ -4238,7 +4238,7 @@ generateProof(aArg: PrivateKey, AArg: PublicKey, BArg: PublicKey, S: Point): {
4238
4238
  z: BigNumber;
4239
4239
  }
4240
4240
  ```
4241
- See also: [BigNumber](./primitives.md#class-bignumber), [Point](./primitives.md#class-point), [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
4241
+ See also: [BigNumber](#class-bignumber), [Point](#class-point), [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
4242
4242
 
4243
4243
  Returns
4244
4244
 
@@ -4266,7 +4266,7 @@ verifyProof(A: Point, B: Point, S: Point, proof: {
4266
4266
  z: BigNumber;
4267
4267
  }): boolean
4268
4268
  ```
4269
- See also: [BigNumber](./primitives.md#class-bignumber), [Point](./primitives.md#class-point)
4269
+ See also: [BigNumber](#class-bignumber), [Point](#class-point)
4270
4270
 
4271
4271
  Returns
4272
4272
 
@@ -4311,7 +4311,7 @@ export default class Signature {
4311
4311
  }
4312
4312
  ```
4313
4313
 
4314
- See also: [BigNumber](./primitives.md#class-bignumber), [PublicKey](./primitives.md#class-publickey), [verify](./compat.md#variable-verify)
4314
+ See also: [BigNumber](#class-bignumber), [PublicKey](#class-publickey), [verify](#variable-verify)
4315
4315
 
4316
4316
  #### Constructor
4317
4317
 
@@ -4320,7 +4320,7 @@ Creates an instance of the Signature class.
4320
4320
  ```ts
4321
4321
  constructor(r: BigNumber, s: BigNumber)
4322
4322
  ```
4323
- See also: [BigNumber](./primitives.md#class-bignumber)
4323
+ See also: [BigNumber](#class-bignumber)
4324
4324
 
4325
4325
  Argument Details
4326
4326
 
@@ -4347,7 +4347,7 @@ The recovery factor is a number between 0 and 3.
4347
4347
  ```ts
4348
4348
  CalculateRecoveryFactor(pubkey: PublicKey, msgHash: BigNumber): number
4349
4349
  ```
4350
- See also: [BigNumber](./primitives.md#class-bignumber), [PublicKey](./primitives.md#class-publickey)
4350
+ See also: [BigNumber](#class-bignumber), [PublicKey](#class-publickey)
4351
4351
 
4352
4352
  Returns
4353
4353
 
@@ -4375,7 +4375,7 @@ The recovery factor is a number between 0 and 3.
4375
4375
  ```ts
4376
4376
  RecoverPublicKey(recovery: number, e: BigNumber): PublicKey
4377
4377
  ```
4378
- See also: [BigNumber](./primitives.md#class-bignumber), [PublicKey](./primitives.md#class-publickey)
4378
+ See also: [BigNumber](#class-bignumber), [PublicKey](#class-publickey)
4379
4379
 
4380
4380
  Returns
4381
4381
 
@@ -4407,7 +4407,7 @@ We could support recovery functions in future if there's demand.
4407
4407
  ```ts
4408
4408
  static fromCompact(data: number[] | string, enc?: "hex" | "base64"): Signature
4409
4409
  ```
4410
- See also: [Signature](./primitives.md#class-signature)
4410
+ See also: [Signature](#class-signature)
4411
4411
 
4412
4412
  Returns
4413
4413
 
@@ -4435,7 +4435,7 @@ If a string is provided, it is assumed to represent a hexadecimal sequence.
4435
4435
  ```ts
4436
4436
  static fromDER(data: number[] | string, enc?: "hex" | "base64"): Signature
4437
4437
  ```
4438
- See also: [Signature](./primitives.md#class-signature)
4438
+ See also: [Signature](#class-signature)
4439
4439
 
4440
4440
  Returns
4441
4441
 
@@ -4548,7 +4548,7 @@ If the data or key do not match the signature, the function returns false.
4548
4548
  ```ts
4549
4549
  verify(msg: number[] | string, key: PublicKey, enc?: "hex"): boolean
4550
4550
  ```
4551
- See also: [PublicKey](./primitives.md#class-publickey)
4551
+ See also: [PublicKey](#class-publickey)
4552
4552
 
4553
4553
  Returns
4554
4554
 
@@ -4588,7 +4588,7 @@ export default class SymmetricKey extends BigNumber {
4588
4588
  }
4589
4589
  ```
4590
4590
 
4591
- See also: [BigNumber](./primitives.md#class-bignumber), [decrypt](./messages.md#variable-decrypt), [encrypt](./messages.md#variable-encrypt)
4591
+ See also: [BigNumber](#class-bignumber)
4592
4592
 
4593
4593
  #### Method decrypt
4594
4594
 
@@ -4657,7 +4657,7 @@ Generates a symmetric key randomly.
4657
4657
  ```ts
4658
4658
  static fromRandom(): SymmetricKey
4659
4659
  ```
4660
- See also: [SymmetricKey](./primitives.md#class-symmetrickey)
4660
+ See also: [SymmetricKey](#class-symmetrickey)
4661
4661
 
4662
4662
  Returns
4663
4663
 
@@ -4702,7 +4702,7 @@ export default class TransactionSignature extends Signature {
4702
4702
  }
4703
4703
  ```
4704
4704
 
4705
- See also: [BigNumber](./primitives.md#class-bignumber), [Script](./script.md#class-script), [Signature](./primitives.md#class-signature), [TransactionInput](./transaction.md#interface-transactioninput), [TransactionOutput](./transaction.md#interface-transactionoutput)
4705
+ See also: [BigNumber](#class-bignumber), [Signature](#class-signature)
4706
4706
 
4707
4707
  #### Method hasLowS
4708
4708
 
@@ -4747,7 +4747,7 @@ export class Writer {
4747
4747
  }
4748
4748
  ```
4749
4749
 
4750
- See also: [BigNumber](./primitives.md#class-bignumber), [toArray](./primitives.md#variable-toarray)
4750
+ See also: [BigNumber](#class-bignumber), [toArray](#variable-toarray)
4751
4751
 
4752
4752
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
4753
4753
 
@@ -5026,7 +5026,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
5026
5026
  P_PLUS1_DIV4 = (P_BIGINT + 1n) >> 2n
5027
5027
  ```
5028
5028
 
5029
- See also: [P_BIGINT](./primitives.md#variable-p_bigint)
5029
+ See also: [P_BIGINT](#variable-p_bigint)
5030
5030
 
5031
5031
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5032
5032
 
@@ -5037,7 +5037,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
5037
5037
  biMod = (a: bigint): bigint => red((a % P_BIGINT + P_BIGINT) % P_BIGINT)
5038
5038
  ```
5039
5039
 
5040
- See also: [P_BIGINT](./primitives.md#variable-p_bigint), [red](./primitives.md#function-red)
5040
+ See also: [P_BIGINT](#variable-p_bigint), [red](#function-red)
5041
5041
 
5042
5042
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5043
5043
 
@@ -5048,7 +5048,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
5048
5048
  biModAdd = (a: bigint, b: bigint): bigint => red(a + b)
5049
5049
  ```
5050
5050
 
5051
- See also: [red](./primitives.md#function-red)
5051
+ See also: [red](#function-red)
5052
5052
 
5053
5053
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5054
5054
 
@@ -5070,7 +5070,7 @@ biModInv = (a: bigint): bigint => {
5070
5070
  }
5071
5071
  ```
5072
5072
 
5073
- See also: [BI_ONE](./primitives.md#variable-bi_one), [BI_ZERO](./primitives.md#variable-bi_zero), [P_BIGINT](./primitives.md#variable-p_bigint), [biMod](./primitives.md#variable-bimod)
5073
+ See also: [BI_ONE](#variable-bi_one), [BI_ZERO](#variable-bi_zero), [P_BIGINT](#variable-p_bigint), [biMod](#variable-bimod)
5074
5074
 
5075
5075
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5076
5076
 
@@ -5081,7 +5081,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
5081
5081
  biModMul = (a: bigint, b: bigint): bigint => red(a * b)
5082
5082
  ```
5083
5083
 
5084
- See also: [red](./primitives.md#function-red)
5084
+ See also: [red](#function-red)
5085
5085
 
5086
5086
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5087
5087
 
@@ -5103,7 +5103,7 @@ biModPow = (base: bigint, exp: bigint): bigint => {
5103
5103
  }
5104
5104
  ```
5105
5105
 
5106
- See also: [BI_ONE](./primitives.md#variable-bi_one), [BI_ZERO](./primitives.md#variable-bi_zero), [biMod](./primitives.md#variable-bimod), [biModMul](./primitives.md#variable-bimodmul)
5106
+ See also: [BI_ONE](#variable-bi_one), [BI_ZERO](#variable-bi_zero), [biMod](#variable-bimod), [biModMul](#variable-bimodmul)
5107
5107
 
5108
5108
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5109
5109
 
@@ -5114,7 +5114,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
5114
5114
  biModSqr = (a: bigint): bigint => biModMul(a, a)
5115
5115
  ```
5116
5116
 
5117
- See also: [biModMul](./primitives.md#variable-bimodmul)
5117
+ See also: [biModMul](#variable-bimodmul)
5118
5118
 
5119
5119
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5120
5120
 
@@ -5128,7 +5128,7 @@ biModSqrt = (a: bigint): bigint | null => {
5128
5128
  }
5129
5129
  ```
5130
5130
 
5131
- See also: [P_PLUS1_DIV4](./primitives.md#variable-p_plus1_div4), [biMod](./primitives.md#variable-bimod), [biModMul](./primitives.md#variable-bimodmul), [biModPow](./primitives.md#variable-bimodpow)
5131
+ See also: [P_PLUS1_DIV4](#variable-p_plus1_div4), [biMod](#variable-bimod), [biModMul](#variable-bimodmul), [biModPow](#variable-bimodpow)
5132
5132
 
5133
5133
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5134
5134
 
@@ -5139,7 +5139,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
5139
5139
  biModSub = (a: bigint, b: bigint): bigint => (a >= b ? a - b : P_BIGINT - (b - a))
5140
5140
  ```
5141
5141
 
5142
- See also: [P_BIGINT](./primitives.md#variable-p_bigint)
5142
+ See also: [P_BIGINT](#variable-p_bigint)
5143
5143
 
5144
5144
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5145
5145
 
@@ -5170,7 +5170,7 @@ encode = (arr: number[], enc?: "hex" | "utf8"): string | number[] => {
5170
5170
  }
5171
5171
  ```
5172
5172
 
5173
- See also: [toHex](./primitives.md#variable-tohex), [toUTF8](./primitives.md#variable-toutf8)
5173
+ See also: [toHex](#variable-tohex), [toUTF8](#variable-toutf8)
5174
5174
 
5175
5175
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5176
5176
 
@@ -5252,7 +5252,7 @@ fromBase58Check = (str: string, enc?: "hex", prefixLength: number = 1): {
5252
5252
  }
5253
5253
  ```
5254
5254
 
5255
- See also: [fromBase58](./primitives.md#variable-frombase58), [hash256](./primitives.md#variable-hash256), [toHex](./primitives.md#variable-tohex)
5255
+ See also: [fromBase58](#variable-frombase58), [hash256](#variable-hash256), [toHex](#variable-tohex)
5256
5256
 
5257
5257
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5258
5258
 
@@ -5282,7 +5282,7 @@ hash160 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
5282
5282
  }
5283
5283
  ```
5284
5284
 
5285
- See also: [RIPEMD160](./primitives.md#class-ripemd160), [SHA256](./primitives.md#class-sha256)
5285
+ See also: [RIPEMD160](#class-ripemd160), [SHA256](#class-sha256)
5286
5286
 
5287
5287
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5288
5288
 
@@ -5296,7 +5296,7 @@ hash256 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
5296
5296
  }
5297
5297
  ```
5298
5298
 
5299
- See also: [SHA256](./primitives.md#class-sha256)
5299
+ See also: [SHA256](#class-sha256)
5300
5300
 
5301
5301
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5302
5302
 
@@ -5354,7 +5354,7 @@ jpAdd = (P: JacobianPointBI, Q: JacobianPointBI): JacobianPointBI => {
5354
5354
  }
5355
5355
  ```
5356
5356
 
5357
- See also: [BI_ONE](./primitives.md#variable-bi_one), [BI_TWO](./primitives.md#variable-bi_two), [BI_ZERO](./primitives.md#variable-bi_zero), [JacobianPointBI](./primitives.md#interface-jacobianpointbi), [biModMul](./primitives.md#variable-bimodmul), [biModSub](./primitives.md#variable-bimodsub), [jpDouble](./primitives.md#variable-jpdouble)
5357
+ See also: [BI_ONE](#variable-bi_one), [BI_TWO](#variable-bi_two), [BI_ZERO](#variable-bi_zero), [JacobianPointBI](#interface-jacobianpointbi), [biModMul](#variable-bimodmul), [biModSub](#variable-bimodsub), [jpDouble](#variable-jpdouble)
5358
5358
 
5359
5359
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5360
5360
 
@@ -5376,7 +5376,7 @@ jpDouble = (P: JacobianPointBI): JacobianPointBI => {
5376
5376
  }
5377
5377
  ```
5378
5378
 
5379
- See also: [BI_EIGHT](./primitives.md#variable-bi_eight), [BI_FOUR](./primitives.md#variable-bi_four), [BI_ONE](./primitives.md#variable-bi_one), [BI_THREE](./primitives.md#variable-bi_three), [BI_TWO](./primitives.md#variable-bi_two), [BI_ZERO](./primitives.md#variable-bi_zero), [JacobianPointBI](./primitives.md#interface-jacobianpointbi), [biModMul](./primitives.md#variable-bimodmul), [biModSub](./primitives.md#variable-bimodsub)
5379
+ See also: [BI_EIGHT](#variable-bi_eight), [BI_FOUR](#variable-bi_four), [BI_ONE](#variable-bi_one), [BI_THREE](#variable-bi_three), [BI_TWO](#variable-bi_two), [BI_ZERO](#variable-bi_zero), [JacobianPointBI](#interface-jacobianpointbi), [biModMul](#variable-bimodmul), [biModSub](#variable-bimodsub)
5380
5380
 
5381
5381
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5382
5382
 
@@ -5391,7 +5391,7 @@ jpNeg = (P: JacobianPointBI): JacobianPointBI => {
5391
5391
  }
5392
5392
  ```
5393
5393
 
5394
- See also: [BI_ZERO](./primitives.md#variable-bi_zero), [JacobianPointBI](./primitives.md#interface-jacobianpointbi), [P_BIGINT](./primitives.md#variable-p_bigint)
5394
+ See also: [BI_ZERO](#variable-bi_zero), [JacobianPointBI](#interface-jacobianpointbi), [P_BIGINT](#variable-p_bigint)
5395
5395
 
5396
5396
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5397
5397
 
@@ -5449,7 +5449,7 @@ modInvN = (a: bigint): bigint => {
5449
5449
  }
5450
5450
  ```
5451
5451
 
5452
- See also: [N_BIGINT](./primitives.md#variable-n_bigint), [modN](./primitives.md#variable-modn)
5452
+ See also: [N_BIGINT](#variable-n_bigint), [modN](#variable-modn)
5453
5453
 
5454
5454
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5455
5455
 
@@ -5460,7 +5460,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
5460
5460
  modMulN = (a: bigint, b: bigint): bigint => modN(a * b)
5461
5461
  ```
5462
5462
 
5463
- See also: [modN](./primitives.md#variable-modn)
5463
+ See also: [modN](#variable-modn)
5464
5464
 
5465
5465
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5466
5466
 
@@ -5476,7 +5476,7 @@ modN = (a: bigint): bigint => {
5476
5476
  }
5477
5477
  ```
5478
5478
 
5479
- See also: [N_BIGINT](./primitives.md#variable-n_bigint)
5479
+ See also: [N_BIGINT](#variable-n_bigint)
5480
5480
 
5481
5481
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5482
5482
 
@@ -5505,7 +5505,7 @@ multiply = function (block0: number[], block1: number[]): number[] {
5505
5505
  }
5506
5506
  ```
5507
5507
 
5508
- See also: [rightShift](./primitives.md#variable-rightshift)
5508
+ See also: [rightShift](#variable-rightshift)
5509
5509
 
5510
5510
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5511
5511
 
@@ -5540,7 +5540,7 @@ ripemd160 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
5540
5540
  }
5541
5541
  ```
5542
5542
 
5543
- See also: [RIPEMD160](./primitives.md#class-ripemd160)
5543
+ See also: [RIPEMD160](#class-ripemd160)
5544
5544
 
5545
5545
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5546
5546
 
@@ -5601,7 +5601,7 @@ scalarMultiplyWNAF = (k: bigint, P0: {
5601
5601
  }
5602
5602
  ```
5603
5603
 
5604
- See also: [BI_ONE](./primitives.md#variable-bi_one), [BI_ZERO](./primitives.md#variable-bi_zero), [JacobianPointBI](./primitives.md#interface-jacobianpointbi), [jpAdd](./primitives.md#variable-jpadd), [jpDouble](./primitives.md#variable-jpdouble), [jpNeg](./primitives.md#variable-jpneg)
5604
+ See also: [BI_ONE](#variable-bi_one), [BI_ZERO](#variable-bi_zero), [JacobianPointBI](#interface-jacobianpointbi), [jpAdd](#variable-jpadd), [jpDouble](#variable-jpdouble), [jpNeg](#variable-jpneg)
5605
5605
 
5606
5606
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5607
5607
 
@@ -5614,7 +5614,7 @@ sha1 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
5614
5614
  }
5615
5615
  ```
5616
5616
 
5617
- See also: [SHA1](./primitives.md#class-sha1)
5617
+ See also: [SHA1](#class-sha1)
5618
5618
 
5619
5619
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5620
5620
 
@@ -5627,7 +5627,7 @@ sha256 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
5627
5627
  }
5628
5628
  ```
5629
5629
 
5630
- See also: [SHA256](./primitives.md#class-sha256)
5630
+ See also: [SHA256](#class-sha256)
5631
5631
 
5632
5632
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5633
5633
 
@@ -5640,7 +5640,7 @@ sha256hmac = (key: number[] | string, msg: number[] | string, enc?: "hex"): numb
5640
5640
  }
5641
5641
  ```
5642
5642
 
5643
- See also: [SHA256HMAC](./primitives.md#class-sha256hmac)
5643
+ See also: [SHA256HMAC](#class-sha256hmac)
5644
5644
 
5645
5645
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5646
5646
 
@@ -5653,7 +5653,7 @@ sha512 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
5653
5653
  }
5654
5654
  ```
5655
5655
 
5656
- See also: [SHA512](./primitives.md#class-sha512)
5656
+ See also: [SHA512](#class-sha512)
5657
5657
 
5658
5658
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5659
5659
 
@@ -5666,7 +5666,7 @@ sha512hmac = (key: number[] | string, msg: number[] | string, enc?: "hex"): numb
5666
5666
  }
5667
5667
  ```
5668
5668
 
5669
- See also: [SHA512HMAC](./primitives.md#class-sha512hmac)
5669
+ See also: [SHA512HMAC](#class-sha512hmac)
5670
5670
 
5671
5671
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5672
5672
 
@@ -5734,7 +5734,7 @@ sign = (msg: BigNumber, key: BigNumber, forceLowS: boolean = false, customK?: Bi
5734
5734
  }
5735
5735
  ```
5736
5736
 
5737
- See also: [BigNumber](./primitives.md#class-bignumber), [DRBG](./primitives.md#class-drbg), [GX_BIGINT](./primitives.md#variable-gx_bigint), [GY_BIGINT](./primitives.md#variable-gy_bigint), [N_BIGINT](./primitives.md#variable-n_bigint), [Signature](./primitives.md#class-signature), [biModInv](./primitives.md#variable-bimodinv), [biModMul](./primitives.md#variable-bimodmul), [modInvN](./primitives.md#variable-modinvn), [modMulN](./primitives.md#variable-modmuln), [modN](./primitives.md#variable-modn), [scalarMultiplyWNAF](./primitives.md#variable-scalarmultiplywnaf), [toArray](./primitives.md#variable-toarray)
5737
+ See also: [BigNumber](#class-bignumber), [DRBG](#class-drbg), [GX_BIGINT](#variable-gx_bigint), [GY_BIGINT](#variable-gy_bigint), [N_BIGINT](#variable-n_bigint), [Signature](#class-signature), [biModInv](#variable-bimodinv), [biModMul](#variable-bimodmul), [modInvN](#variable-modinvn), [modMulN](#variable-modmuln), [modN](#variable-modn), [scalarMultiplyWNAF](#variable-scalarmultiplywnaf), [toArray](#variable-toarray)
5738
5738
 
5739
5739
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5740
5740
 
@@ -5809,7 +5809,7 @@ toBase58Check = (bin: number[], prefix: number[] = [0]): string => {
5809
5809
  }
5810
5810
  ```
5811
5811
 
5812
- See also: [hash256](./primitives.md#variable-hash256), [toBase58](./primitives.md#variable-tobase58)
5812
+ See also: [hash256](#variable-hash256), [toBase58](#variable-tobase58)
5813
5813
 
5814
5814
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5815
5815
 
@@ -5826,7 +5826,7 @@ toHex = (msg: number[]): string => {
5826
5826
  }
5827
5827
  ```
5828
5828
 
5829
- See also: [zero2](./primitives.md#variable-zero2)
5829
+ See also: [zero2](#variable-zero2)
5830
5830
 
5831
5831
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5832
5832
 
@@ -5919,7 +5919,7 @@ verify = (msg: BigNumber, sig: Signature, key: Point): boolean => {
5919
5919
  }
5920
5920
  ```
5921
5921
 
5922
- See also: [BI_ZERO](./primitives.md#variable-bi_zero), [BigNumber](./primitives.md#class-bignumber), [GX_BIGINT](./primitives.md#variable-gx_bigint), [GY_BIGINT](./primitives.md#variable-gy_bigint), [N_BIGINT](./primitives.md#variable-n_bigint), [Point](./primitives.md#class-point), [Signature](./primitives.md#class-signature), [biModInv](./primitives.md#variable-bimodinv), [biModMul](./primitives.md#variable-bimodmul), [jpAdd](./primitives.md#variable-jpadd), [modInvN](./primitives.md#variable-modinvn), [modMulN](./primitives.md#variable-modmuln), [modN](./primitives.md#variable-modn), [scalarMultiplyWNAF](./primitives.md#variable-scalarmultiplywnaf)
5922
+ See also: [BI_ZERO](#variable-bi_zero), [BigNumber](#class-bignumber), [GX_BIGINT](#variable-gx_bigint), [GY_BIGINT](#variable-gy_bigint), [N_BIGINT](#variable-n_bigint), [Point](#class-point), [Signature](#class-signature), [biModInv](#variable-bimodinv), [biModMul](#variable-bimodmul), [jpAdd](#variable-jpadd), [modInvN](#variable-modinvn), [modMulN](#variable-modmuln), [modN](#variable-modn), [scalarMultiplyWNAF](#variable-scalarmultiplywnaf)
5923
5923
 
5924
5924
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5925
5925