@twin.org/crypto 0.0.1-next.46 → 0.0.1-next.48

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.
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/crypto - Changelog
2
2
 
3
- ## 0.0.1-next.46
3
+ ## 0.0.1-next.48
4
4
 
5
5
  - Added: Bip44
@@ -20,7 +20,7 @@ The output length.
20
20
 
21
21
  ##### key?
22
22
 
23
- `Uint8Array`
23
+ `Uint8Array`\<`ArrayBufferLike`\>
24
24
 
25
25
  Optional key for the hash.
26
26
 
@@ -70,7 +70,7 @@ The block to operate on.
70
70
 
71
71
  ##### key?
72
72
 
73
- `Uint8Array`
73
+ `Uint8Array`\<`ArrayBufferLike`\>
74
74
 
75
75
  Optional key for the hash.
76
76
 
@@ -98,7 +98,7 @@ The block to operate on.
98
98
 
99
99
  ##### key?
100
100
 
101
- `Uint8Array`
101
+ `Uint8Array`\<`ArrayBufferLike`\>
102
102
 
103
103
  Optional key for the hash.
104
104
 
@@ -126,7 +126,7 @@ The block to operate on.
126
126
 
127
127
  ##### key?
128
128
 
129
- `Uint8Array`
129
+ `Uint8Array`\<`ArrayBufferLike`\>
130
130
 
131
131
  Optional key for the hash.
132
132
 
@@ -20,7 +20,7 @@ The output length.
20
20
 
21
21
  ##### key?
22
22
 
23
- `Uint8Array`
23
+ `Uint8Array`\<`ArrayBufferLike`\>
24
24
 
25
25
  Optional key for the hash.
26
26
 
@@ -62,7 +62,7 @@ The block to operate on.
62
62
 
63
63
  ##### key?
64
64
 
65
- `Uint8Array`
65
+ `Uint8Array`\<`ArrayBufferLike`\>
66
66
 
67
67
  Optional key for the hash.
68
68
 
@@ -90,7 +90,7 @@ The block to operate on.
90
90
 
91
91
  ##### key?
92
92
 
93
- `Uint8Array`
93
+ `Uint8Array`\<`ArrayBufferLike`\>
94
94
 
95
95
  Optional key for the hash.
96
96
 
@@ -26,7 +26,7 @@ The nonce.
26
26
 
27
27
  ##### aad?
28
28
 
29
- `Uint8Array`
29
+ `Uint8Array`\<`ArrayBufferLike`\>
30
30
 
31
31
  The additional authenticated data.
32
32
 
@@ -150,7 +150,7 @@ The private key in PKCS8 format.
150
150
 
151
151
  ### pkcs8ToPrivateKey()
152
152
 
153
- > `static` **pkcs8ToPrivateKey**(`cryptoKey`): `Promise`\<`Uint8Array`\>
153
+ > `static` **pkcs8ToPrivateKey**(`cryptoKey`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
154
154
 
155
155
  Convert a crypto key to raw private key.
156
156
 
@@ -164,6 +164,6 @@ The crypto key to convert.
164
164
 
165
165
  #### Returns
166
166
 
167
- `Promise`\<`Uint8Array`\>
167
+ `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
168
168
 
169
169
  The raw private key.
@@ -45,19 +45,19 @@ The list of failures to add to.
45
45
 
46
46
  Options to configure the testing.
47
47
 
48
- ###### minLength
48
+ ###### minLength?
49
49
 
50
50
  `number`
51
51
 
52
52
  The minimum length of the password, defaults to 8.
53
53
 
54
- ###### maxLength
54
+ ###### maxLength?
55
55
 
56
56
  `number`
57
57
 
58
58
  The minimum length of the password, defaults to 128.
59
59
 
60
- ###### minPhraseLength
60
+ ###### minPhraseLength?
61
61
 
62
62
  `number`
63
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/crypto",
3
- "version": "0.0.1-next.46",
3
+ "version": "0.0.1-next.48",
4
4
  "description": "Contains helper methods and classes which implement cryptographic functions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,7 @@
20
20
  "@scure/base": "1.2.4",
21
21
  "@scure/bip32": "1.6.2",
22
22
  "@scure/bip39": "1.5.4",
23
- "@twin.org/core": "0.0.1-next.46",
23
+ "@twin.org/core": "0.0.1-next.48",
24
24
  "@twin.org/nameof": "next",
25
25
  "micro-key-producer": "0.7.5"
26
26
  },