@twin.org/crypto 0.0.2-next.9 → 0.0.3-next.1

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.
Files changed (103) hide show
  1. package/dist/es/address/bech32.js +72 -0
  2. package/dist/es/address/bech32.js.map +1 -0
  3. package/dist/es/address/bip44.js +113 -0
  4. package/dist/es/address/bip44.js.map +1 -0
  5. package/dist/es/ciphers/chaCha20Poly1305.js +48 -0
  6. package/dist/es/ciphers/chaCha20Poly1305.js.map +1 -0
  7. package/dist/es/curves/ed25519.js +114 -0
  8. package/dist/es/curves/ed25519.js.map +1 -0
  9. package/dist/es/curves/secp256k1.js +82 -0
  10. package/dist/es/curves/secp256k1.js.map +1 -0
  11. package/dist/es/curves/x25519.js +34 -0
  12. package/dist/es/curves/x25519.js.map +1 -0
  13. package/dist/es/curves/zip215.js +33 -0
  14. package/dist/es/curves/zip215.js.map +1 -0
  15. package/dist/es/hashes/blake2b.js +90 -0
  16. package/dist/es/hashes/blake2b.js.map +1 -0
  17. package/dist/es/hashes/blake3.js +76 -0
  18. package/dist/es/hashes/blake3.js.map +1 -0
  19. package/dist/es/hashes/hmacSha1.js +56 -0
  20. package/dist/es/hashes/hmacSha1.js.map +1 -0
  21. package/dist/es/hashes/hmacSha256.js +83 -0
  22. package/dist/es/hashes/hmacSha256.js.map +1 -0
  23. package/dist/es/hashes/hmacSha512.js +132 -0
  24. package/dist/es/hashes/hmacSha512.js.map +1 -0
  25. package/dist/es/hashes/pbkdf2.js +45 -0
  26. package/dist/es/hashes/pbkdf2.js.map +1 -0
  27. package/dist/es/hashes/sha1.js +52 -0
  28. package/dist/es/hashes/sha1.js.map +1 -0
  29. package/dist/es/hashes/sha256.js +75 -0
  30. package/dist/es/hashes/sha256.js.map +1 -0
  31. package/dist/es/hashes/sha3.js +122 -0
  32. package/dist/es/hashes/sha3.js.map +1 -0
  33. package/dist/es/hashes/sha512.js +118 -0
  34. package/dist/es/hashes/sha512.js.map +1 -0
  35. package/dist/es/helpers/pemHelper.js +42 -0
  36. package/dist/es/helpers/pemHelper.js.map +1 -0
  37. package/dist/es/index.js +29 -0
  38. package/dist/es/index.js.map +1 -0
  39. package/dist/es/keys/bip32Path.js +72 -0
  40. package/dist/es/keys/bip32Path.js.map +1 -0
  41. package/dist/es/keys/bip39.js +83 -0
  42. package/dist/es/keys/bip39.js.map +1 -0
  43. package/dist/es/keys/slip0010.js +83 -0
  44. package/dist/es/keys/slip0010.js.map +1 -0
  45. package/dist/es/models/keyType.js +17 -0
  46. package/dist/es/models/keyType.js.map +1 -0
  47. package/dist/es/otp/hotp.js +27 -0
  48. package/dist/es/otp/hotp.js.map +1 -0
  49. package/dist/es/otp/totp.js +75 -0
  50. package/dist/es/otp/totp.js.map +1 -0
  51. package/dist/es/passwords/passwordGenerator.js +28 -0
  52. package/dist/es/passwords/passwordGenerator.js.map +1 -0
  53. package/dist/es/passwords/passwordValidator.js +81 -0
  54. package/dist/es/passwords/passwordValidator.js.map +1 -0
  55. package/dist/types/address/bech32.d.ts +4 -0
  56. package/dist/types/address/bip44.d.ts +6 -2
  57. package/dist/types/ciphers/chaCha20Poly1305.d.ts +4 -0
  58. package/dist/types/curves/ed25519.d.ts +4 -0
  59. package/dist/types/curves/secp256k1.d.ts +4 -0
  60. package/dist/types/curves/x25519.d.ts +4 -0
  61. package/dist/types/curves/zip215.d.ts +4 -0
  62. package/dist/types/hashes/blake2b.d.ts +4 -0
  63. package/dist/types/hashes/blake3.d.ts +4 -0
  64. package/dist/types/hashes/hmacSha1.d.ts +4 -0
  65. package/dist/types/hashes/hmacSha256.d.ts +4 -0
  66. package/dist/types/hashes/hmacSha512.d.ts +4 -0
  67. package/dist/types/hashes/pbkdf2.d.ts +4 -0
  68. package/dist/types/hashes/sha1.d.ts +4 -0
  69. package/dist/types/hashes/sha256.d.ts +4 -0
  70. package/dist/types/hashes/sha3.d.ts +4 -0
  71. package/dist/types/hashes/sha512.d.ts +4 -0
  72. package/dist/types/helpers/pemHelper.d.ts +4 -0
  73. package/dist/types/index.d.ts +26 -26
  74. package/dist/types/keys/bip39.d.ts +4 -0
  75. package/dist/types/keys/slip0010.d.ts +6 -2
  76. package/dist/types/otp/hotp.d.ts +4 -0
  77. package/docs/changelog.md +267 -0
  78. package/docs/reference/classes/Bech32.md +8 -0
  79. package/docs/reference/classes/Bip39.md +8 -0
  80. package/docs/reference/classes/Bip44.md +8 -0
  81. package/docs/reference/classes/Blake2b.md +8 -0
  82. package/docs/reference/classes/Blake3.md +8 -0
  83. package/docs/reference/classes/ChaCha20Poly1305.md +8 -0
  84. package/docs/reference/classes/Ed25519.md +8 -0
  85. package/docs/reference/classes/HmacSha1.md +8 -0
  86. package/docs/reference/classes/HmacSha256.md +8 -0
  87. package/docs/reference/classes/HmacSha512.md +8 -0
  88. package/docs/reference/classes/Hotp.md +8 -0
  89. package/docs/reference/classes/Pbkdf2.md +8 -0
  90. package/docs/reference/classes/PemHelper.md +8 -0
  91. package/docs/reference/classes/Secp256k1.md +8 -0
  92. package/docs/reference/classes/Sha1.md +8 -0
  93. package/docs/reference/classes/Sha256.md +8 -0
  94. package/docs/reference/classes/Sha3.md +8 -0
  95. package/docs/reference/classes/Sha512.md +8 -0
  96. package/docs/reference/classes/Slip0010.md +8 -0
  97. package/docs/reference/classes/Totp.md +2 -2
  98. package/docs/reference/classes/X25519.md +8 -0
  99. package/docs/reference/classes/Zip215.md +8 -0
  100. package/locales/en.json +9 -28
  101. package/package.json +29 -16
  102. package/dist/cjs/index.cjs +0 -1876
  103. package/dist/esm/index.mjs +0 -1829
@@ -2,6 +2,10 @@
2
2
  * Implementation of Bip39 for mnemonic generation.
3
3
  */
4
4
  export declare class Bip39 {
5
+ /**
6
+ * Runtime name for the class.
7
+ */
8
+ static readonly CLASS_NAME: string;
5
9
  /**
6
10
  * Generate a random mnemonic.
7
11
  * @param strength The strength of the mnemonic to generate, defaults to 256.
@@ -1,10 +1,14 @@
1
- import type { Bip32Path } from "./bip32Path";
2
- import { KeyType } from "../models/keyType";
1
+ import type { Bip32Path } from "./bip32Path.js";
2
+ import { KeyType } from "../models/keyType.js";
3
3
  /**
4
4
  * Class to help with slip0010 key derivation
5
5
  * https://github.com/satoshilabs/slips/blob/master/slip-0010.md.
6
6
  */
7
7
  export declare class Slip0010 {
8
+ /**
9
+ * Runtime name for the class.
10
+ */
11
+ static readonly CLASS_NAME: string;
8
12
  /**
9
13
  * Get the master key from the seed.
10
14
  * @param seed The seed to generate the master key from.
@@ -3,6 +3,10 @@
3
3
  * Implementation of https://datatracker.ietf.org/doc/html/rfc4226 .
4
4
  */
5
5
  export declare class Hotp {
6
+ /**
7
+ * Runtime name for the class.
8
+ */
9
+ static readonly CLASS_NAME: string;
6
10
  /**
7
11
  * Generate a counter based One Time Password.
8
12
  * @param key Key for the one time password.
package/docs/changelog.md CHANGED
@@ -1,5 +1,272 @@
1
1
  # @twin.org/crypto - Changelog
2
2
 
3
+ ## [0.0.3-next.1](https://github.com/twinfoundation/framework/compare/crypto-v0.0.3-next.0...crypto-v0.0.3-next.1) (2025-11-10)
4
+
5
+
6
+ ### Features
7
+
8
+ * add context id features ([#206](https://github.com/twinfoundation/framework/issues/206)) ([ef0d4ee](https://github.com/twinfoundation/framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
9
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
10
+ * add mnemonic validation ([4b43491](https://github.com/twinfoundation/framework/commit/4b43491cf04bb626c27faea66e5c74b3971b111d))
11
+ * add rsa cipher support ([7af6cc6](https://github.com/twinfoundation/framework/commit/7af6cc67512d3363bd4a2f2e87bd7733c2800147))
12
+ * add RSA support for public key components ([7126259](https://github.com/twinfoundation/framework/commit/7126259103b758c291e52a8a03818eb822d1aad1))
13
+ * additional RSA methods and async ([1fceee2](https://github.com/twinfoundation/framework/commit/1fceee2d1248a24a7620846025fcf906495c07f4))
14
+ * change method accessibility ([c1b77fc](https://github.com/twinfoundation/framework/commit/c1b77fcfb61c092a01c97aebb2fe2dc2bbaa221b))
15
+ * eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
16
+ * locales validation ([#197](https://github.com/twinfoundation/framework/issues/197)) ([55fdadb](https://github.com/twinfoundation/framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
17
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
18
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
19
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/twinfoundation/framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
20
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
21
+
22
+
23
+ ### Dependencies
24
+
25
+ * The following workspace dependencies were updated
26
+ * dependencies
27
+ * @twin.org/core bumped from 0.0.3-next.0 to 0.0.3-next.1
28
+ * @twin.org/nameof bumped from 0.0.3-next.0 to 0.0.3-next.1
29
+ * devDependencies
30
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.0 to 0.0.3-next.1
31
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.0 to 0.0.3-next.1
32
+ * @twin.org/validate-locales bumped from 0.0.3-next.0 to 0.0.3-next.1
33
+
34
+ ## [0.0.2-next.22](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.21...crypto-v0.0.2-next.22) (2025-10-10)
35
+
36
+
37
+ ### Miscellaneous Chores
38
+
39
+ * **crypto:** Synchronize repo versions
40
+
41
+
42
+ ### Dependencies
43
+
44
+ * The following workspace dependencies were updated
45
+ * dependencies
46
+ * @twin.org/core bumped from 0.0.2-next.21 to 0.0.2-next.22
47
+ * @twin.org/nameof bumped from 0.0.2-next.21 to 0.0.2-next.22
48
+ * devDependencies
49
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.21 to 0.0.2-next.22
50
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.21 to 0.0.2-next.22
51
+ * @twin.org/validate-locales bumped from 0.0.2-next.21 to 0.0.2-next.22
52
+
53
+ ## [0.0.2-next.21](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.20...crypto-v0.0.2-next.21) (2025-10-09)
54
+
55
+
56
+ ### Features
57
+
58
+ * locales validation ([#197](https://github.com/twinfoundation/framework/issues/197)) ([55fdadb](https://github.com/twinfoundation/framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
59
+
60
+
61
+ ### Dependencies
62
+
63
+ * The following workspace dependencies were updated
64
+ * dependencies
65
+ * @twin.org/core bumped from 0.0.2-next.20 to 0.0.2-next.21
66
+ * @twin.org/nameof bumped from 0.0.2-next.20 to 0.0.2-next.21
67
+ * devDependencies
68
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.20 to 0.0.2-next.21
69
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.20 to 0.0.2-next.21
70
+ * @twin.org/validate-locales bumped from 0.0.2-next.20 to 0.0.2-next.21
71
+
72
+ ## [0.0.2-next.20](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.19...crypto-v0.0.2-next.20) (2025-10-02)
73
+
74
+
75
+ ### Miscellaneous Chores
76
+
77
+ * **crypto:** Synchronize repo versions
78
+
79
+
80
+ ### Dependencies
81
+
82
+ * The following workspace dependencies were updated
83
+ * dependencies
84
+ * @twin.org/core bumped from 0.0.2-next.19 to 0.0.2-next.20
85
+ * @twin.org/nameof bumped from 0.0.2-next.19 to 0.0.2-next.20
86
+ * devDependencies
87
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.19 to 0.0.2-next.20
88
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.19 to 0.0.2-next.20
89
+
90
+ ## [0.0.2-next.19](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.18...crypto-v0.0.2-next.19) (2025-09-30)
91
+
92
+
93
+ ### Miscellaneous Chores
94
+
95
+ * **crypto:** Synchronize repo versions
96
+
97
+
98
+ ### Dependencies
99
+
100
+ * The following workspace dependencies were updated
101
+ * dependencies
102
+ * @twin.org/core bumped from 0.0.2-next.18 to 0.0.2-next.19
103
+ * @twin.org/nameof bumped from 0.0.2-next.18 to 0.0.2-next.19
104
+ * devDependencies
105
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.18 to 0.0.2-next.19
106
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.18 to 0.0.2-next.19
107
+
108
+ ## [0.0.2-next.18](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.17...crypto-v0.0.2-next.18) (2025-09-29)
109
+
110
+
111
+ ### Miscellaneous Chores
112
+
113
+ * **crypto:** Synchronize repo versions
114
+
115
+
116
+ ### Dependencies
117
+
118
+ * The following workspace dependencies were updated
119
+ * dependencies
120
+ * @twin.org/core bumped from 0.0.2-next.17 to 0.0.2-next.18
121
+ * @twin.org/nameof bumped from 0.0.2-next.17 to 0.0.2-next.18
122
+ * devDependencies
123
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.17 to 0.0.2-next.18
124
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.17 to 0.0.2-next.18
125
+
126
+ ## [0.0.2-next.17](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.16...crypto-v0.0.2-next.17) (2025-09-29)
127
+
128
+
129
+ ### Miscellaneous Chores
130
+
131
+ * **crypto:** Synchronize repo versions
132
+
133
+
134
+ ### Dependencies
135
+
136
+ * The following workspace dependencies were updated
137
+ * dependencies
138
+ * @twin.org/core bumped from 0.0.2-next.16 to 0.0.2-next.17
139
+ * @twin.org/nameof bumped from 0.0.2-next.16 to 0.0.2-next.17
140
+ * devDependencies
141
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.16 to 0.0.2-next.17
142
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.16 to 0.0.2-next.17
143
+
144
+ ## [0.0.2-next.16](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.15...crypto-v0.0.2-next.16) (2025-09-28)
145
+
146
+
147
+ ### Miscellaneous Chores
148
+
149
+ * **crypto:** Synchronize repo versions
150
+
151
+
152
+ ### Dependencies
153
+
154
+ * The following workspace dependencies were updated
155
+ * dependencies
156
+ * @twin.org/core bumped from 0.0.2-next.15 to 0.0.2-next.16
157
+ * @twin.org/nameof bumped from 0.0.2-next.15 to 0.0.2-next.16
158
+ * devDependencies
159
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.15 to 0.0.2-next.16
160
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.15 to 0.0.2-next.16
161
+
162
+ ## [0.0.2-next.15](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.14...crypto-v0.0.2-next.15) (2025-09-22)
163
+
164
+
165
+ ### Miscellaneous Chores
166
+
167
+ * **crypto:** Synchronize repo versions
168
+
169
+
170
+ ### Dependencies
171
+
172
+ * The following workspace dependencies were updated
173
+ * dependencies
174
+ * @twin.org/core bumped from 0.0.2-next.14 to 0.0.2-next.15
175
+ * @twin.org/nameof bumped from 0.0.2-next.14 to 0.0.2-next.15
176
+ * devDependencies
177
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.14 to 0.0.2-next.15
178
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.14 to 0.0.2-next.15
179
+
180
+ ## [0.0.2-next.14](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.13...crypto-v0.0.2-next.14) (2025-09-22)
181
+
182
+
183
+ ### Miscellaneous Chores
184
+
185
+ * **crypto:** Synchronize repo versions
186
+
187
+
188
+ ### Dependencies
189
+
190
+ * The following workspace dependencies were updated
191
+ * dependencies
192
+ * @twin.org/core bumped from 0.0.2-next.13 to 0.0.2-next.14
193
+ * @twin.org/nameof bumped from 0.0.2-next.13 to 0.0.2-next.14
194
+ * devDependencies
195
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.13 to 0.0.2-next.14
196
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.13 to 0.0.2-next.14
197
+
198
+ ## [0.0.2-next.13](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.12...crypto-v0.0.2-next.13) (2025-09-22)
199
+
200
+
201
+ ### Miscellaneous Chores
202
+
203
+ * **crypto:** Synchronize repo versions
204
+
205
+
206
+ ### Dependencies
207
+
208
+ * The following workspace dependencies were updated
209
+ * dependencies
210
+ * @twin.org/core bumped from 0.0.2-next.12 to 0.0.2-next.13
211
+ * @twin.org/nameof bumped from 0.0.2-next.12 to 0.0.2-next.13
212
+ * devDependencies
213
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.12 to 0.0.2-next.13
214
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.12 to 0.0.2-next.13
215
+
216
+ ## [0.0.2-next.12](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.11...crypto-v0.0.2-next.12) (2025-09-15)
217
+
218
+
219
+ ### Miscellaneous Chores
220
+
221
+ * **crypto:** Synchronize repo versions
222
+
223
+
224
+ ### Dependencies
225
+
226
+ * The following workspace dependencies were updated
227
+ * dependencies
228
+ * @twin.org/core bumped from 0.0.2-next.11 to 0.0.2-next.12
229
+ * @twin.org/nameof bumped from 0.0.2-next.11 to 0.0.2-next.12
230
+ * devDependencies
231
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.11 to 0.0.2-next.12
232
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.11 to 0.0.2-next.12
233
+
234
+ ## [0.0.2-next.11](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.10...crypto-v0.0.2-next.11) (2025-09-15)
235
+
236
+
237
+ ### Miscellaneous Chores
238
+
239
+ * **crypto:** Synchronize repo versions
240
+
241
+
242
+ ### Dependencies
243
+
244
+ * The following workspace dependencies were updated
245
+ * dependencies
246
+ * @twin.org/core bumped from 0.0.2-next.10 to 0.0.2-next.11
247
+ * @twin.org/nameof bumped from 0.0.2-next.10 to 0.0.2-next.11
248
+ * devDependencies
249
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.10 to 0.0.2-next.11
250
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.10 to 0.0.2-next.11
251
+
252
+ ## [0.0.2-next.10](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.9...crypto-v0.0.2-next.10) (2025-09-11)
253
+
254
+
255
+ ### Miscellaneous Chores
256
+
257
+ * **crypto:** Synchronize repo versions
258
+
259
+
260
+ ### Dependencies
261
+
262
+ * The following workspace dependencies were updated
263
+ * dependencies
264
+ * @twin.org/core bumped from 0.0.2-next.9 to 0.0.2-next.10
265
+ * @twin.org/nameof bumped from 0.0.2-next.9 to 0.0.2-next.10
266
+ * devDependencies
267
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.9 to 0.0.2-next.10
268
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.9 to 0.0.2-next.10
269
+
3
270
  ## [0.0.2-next.9](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.8...crypto-v0.0.2-next.9) (2025-09-08)
4
271
 
5
272
 
@@ -12,6 +12,14 @@ Bech32 encoding and decoding.
12
12
 
13
13
  `Bech32`
14
14
 
15
+ ## Properties
16
+
17
+ ### CLASS\_NAME
18
+
19
+ > `readonly` `static` **CLASS\_NAME**: `string`
20
+
21
+ Runtime name for the class.
22
+
15
23
  ## Methods
16
24
 
17
25
  ### encode()
@@ -12,6 +12,14 @@ Implementation of Bip39 for mnemonic generation.
12
12
 
13
13
  `Bip39`
14
14
 
15
+ ## Properties
16
+
17
+ ### CLASS\_NAME
18
+
19
+ > `readonly` `static` **CLASS\_NAME**: `string`
20
+
21
+ Runtime name for the class.
22
+
15
23
  ## Methods
16
24
 
17
25
  ### randomMnemonic()
@@ -12,6 +12,14 @@ Implementation of Bip44 for address generation.
12
12
 
13
13
  `Bip44`
14
14
 
15
+ ## Properties
16
+
17
+ ### CLASS\_NAME
18
+
19
+ > `readonly` `static` **CLASS\_NAME**: `string`
20
+
21
+ Runtime name for the class.
22
+
15
23
  ## Methods
16
24
 
17
25
  ### keyPair()
@@ -52,6 +52,14 @@ Blake2b 256.
52
52
 
53
53
  Blake2b 512.
54
54
 
55
+ ***
56
+
57
+ ### CLASS\_NAME
58
+
59
+ > `readonly` `static` **CLASS\_NAME**: `string`
60
+
61
+ Runtime name for the class.
62
+
55
63
  ## Methods
56
64
 
57
65
  ### sum160()
@@ -44,6 +44,14 @@ Blake3 256.
44
44
 
45
45
  Blake3 512.
46
46
 
47
+ ***
48
+
49
+ ### CLASS\_NAME
50
+
51
+ > `readonly` `static` **CLASS\_NAME**: `string`
52
+
53
+ Runtime name for the class.
54
+
47
55
  ## Methods
48
56
 
49
57
  ### sum256()
@@ -34,6 +34,14 @@ The additional authenticated data.
34
34
 
35
35
  `ChaCha20Poly1305`
36
36
 
37
+ ## Properties
38
+
39
+ ### CLASS\_NAME
40
+
41
+ > `readonly` `static` **CLASS\_NAME**: `string`
42
+
43
+ Runtime name for the class.
44
+
37
45
  ## Methods
38
46
 
39
47
  ### encrypt()
@@ -28,6 +28,14 @@ Private Key Size is the size, in bytes, of private keys as used in this package.
28
28
 
29
29
  Public Key Size is the size, in bytes, of public keys as used in this package.
30
30
 
31
+ ***
32
+
33
+ ### CLASS\_NAME
34
+
35
+ > `readonly` `static` **CLASS\_NAME**: `string`
36
+
37
+ Runtime name for the class.
38
+
31
39
  ## Methods
32
40
 
33
41
  ### publicKeyFromPrivateKey()
@@ -22,6 +22,14 @@ The key for the hmac.
22
22
 
23
23
  `HmacSha1`
24
24
 
25
+ ## Properties
26
+
27
+ ### CLASS\_NAME
28
+
29
+ > `readonly` `static` **CLASS\_NAME**: `string`
30
+
31
+ Runtime name for the class.
32
+
25
33
  ## Methods
26
34
 
27
35
  ### sum()
@@ -44,6 +44,14 @@ Sha256 256.
44
44
 
45
45
  Sha256 224.
46
46
 
47
+ ***
48
+
49
+ ### CLASS\_NAME
50
+
51
+ > `readonly` `static` **CLASS\_NAME**: `string`
52
+
53
+ Runtime name for the class.
54
+
47
55
  ## Methods
48
56
 
49
57
  ### sum224()
@@ -60,6 +60,14 @@ Sha512 384.
60
60
 
61
61
  Sha512 512.
62
62
 
63
+ ***
64
+
65
+ ### CLASS\_NAME
66
+
67
+ > `readonly` `static` **CLASS\_NAME**: `string`
68
+
69
+ Runtime name for the class.
70
+
63
71
  ## Methods
64
72
 
65
73
  ### sum512()
@@ -13,6 +13,14 @@ Implementation of https://datatracker.ietf.org/doc/html/rfc4226 .
13
13
 
14
14
  `Hotp`
15
15
 
16
+ ## Properties
17
+
18
+ ### CLASS\_NAME
19
+
20
+ > `readonly` `static` **CLASS\_NAME**: `string`
21
+
22
+ Runtime name for the class.
23
+
16
24
  ## Methods
17
25
 
18
26
  ### generate()
@@ -12,6 +12,14 @@ Implementation of the password based key derivation function 2.
12
12
 
13
13
  `Pbkdf2`
14
14
 
15
+ ## Properties
16
+
17
+ ### CLASS\_NAME
18
+
19
+ > `readonly` `static` **CLASS\_NAME**: `string`
20
+
21
+ Runtime name for the class.
22
+
15
23
  ## Methods
16
24
 
17
25
  ### sha256()
@@ -12,6 +12,14 @@ Helper class for working with PEM (Privacy-Enhanced Mail) formatted data.
12
12
 
13
13
  `PemHelper`
14
14
 
15
+ ## Properties
16
+
17
+ ### CLASS\_NAME
18
+
19
+ > `readonly` `static` **CLASS\_NAME**: `string`
20
+
21
+ Runtime name for the class.
22
+
15
23
  ## Methods
16
24
 
17
25
  ### stripPemMarkers()
@@ -28,6 +28,14 @@ Private Key Size is the size, in bytes, of private keys as used in this package.
28
28
 
29
29
  Public Key Size is the size, in bytes, of public keys as used in this package.
30
30
 
31
+ ***
32
+
33
+ ### CLASS\_NAME
34
+
35
+ > `readonly` `static` **CLASS\_NAME**: `string`
36
+
37
+ Runtime name for the class.
38
+
31
39
  ## Methods
32
40
 
33
41
  ### publicKeyFromPrivateKey()
@@ -14,6 +14,14 @@ Create a new instance of Sha1.
14
14
 
15
15
  `Sha1`
16
16
 
17
+ ## Properties
18
+
19
+ ### CLASS\_NAME
20
+
21
+ > `readonly` `static` **CLASS\_NAME**: `string`
22
+
23
+ Runtime name for the class.
24
+
17
25
  ## Methods
18
26
 
19
27
  ### sum()
@@ -38,6 +38,14 @@ Sha256 256.
38
38
 
39
39
  Sha256 224.
40
40
 
41
+ ***
42
+
43
+ ### CLASS\_NAME
44
+
45
+ > `readonly` `static` **CLASS\_NAME**: `string`
46
+
47
+ Runtime name for the class.
48
+
41
49
  ## Methods
42
50
 
43
51
  ### sum256()
@@ -54,6 +54,14 @@ Sha3 384.
54
54
 
55
55
  Sha3 512.
56
56
 
57
+ ***
58
+
59
+ ### CLASS\_NAME
60
+
61
+ > `readonly` `static` **CLASS\_NAME**: `string`
62
+
63
+ Runtime name for the class.
64
+
57
65
  ## Methods
58
66
 
59
67
  ### sum256()
@@ -54,6 +54,14 @@ Sha512 384.
54
54
 
55
55
  Sha512 512.
56
56
 
57
+ ***
58
+
59
+ ### CLASS\_NAME
60
+
61
+ > `readonly` `static` **CLASS\_NAME**: `string`
62
+
63
+ Runtime name for the class.
64
+
57
65
  ## Methods
58
66
 
59
67
  ### sum512()
@@ -13,6 +13,14 @@ https://github.com/satoshilabs/slips/blob/master/slip-0010.md.
13
13
 
14
14
  `Slip0010`
15
15
 
16
+ ## Properties
17
+
18
+ ### CLASS\_NAME
19
+
20
+ > `readonly` `static` **CLASS\_NAME**: `string`
21
+
22
+ Runtime name for the class.
23
+
16
24
  ## Methods
17
25
 
18
26
  ### getMasterKeyFromSeed()
@@ -51,7 +51,7 @@ The one time password.
51
51
 
52
52
  ### verify()
53
53
 
54
- > `static` **verify**(`token`, `key`, `window`, `interval`, `timestamp`): `undefined` \| `number`
54
+ > `static` **verify**(`token`, `key`, `window`, `interval`, `timestamp`): `number` \| `undefined`
55
55
 
56
56
  Check a One Time Password based on a timer.
57
57
 
@@ -90,7 +90,7 @@ The timestamp now.
90
90
 
91
91
  #### Returns
92
92
 
93
- `undefined` \| `number`
93
+ `number` \| `undefined`
94
94
 
95
95
  Undefined if failure, delta on success
96
96
 
@@ -12,6 +12,14 @@ Implementation of X25519.
12
12
 
13
13
  `X25519`
14
14
 
15
+ ## Properties
16
+
17
+ ### CLASS\_NAME
18
+
19
+ > `readonly` `static` **CLASS\_NAME**: `string`
20
+
21
+ Runtime name for the class.
22
+
15
23
  ## Methods
16
24
 
17
25
  ### convertPrivateKeyToX25519()
@@ -12,6 +12,14 @@ Implementation of Zip215.
12
12
 
13
13
  `Zip215`
14
14
 
15
+ ## Properties
16
+
17
+ ### CLASS\_NAME
18
+
19
+ > `readonly` `static` **CLASS\_NAME**: `string`
20
+
21
+ Runtime name for the class.
22
+
15
23
  ## Methods
16
24
 
17
25
  ### verify()