We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4322bc commit 78fad8eCopy full SHA for 78fad8e
1 file changed
src/lib/key/key-utils.ts
@@ -51,14 +51,14 @@ export const validateSecp256k1PrivateKey = (privateKey: Uint8Array) => {
51
* import { randomBytes } from 'crypto';
52
* import { generatePrivateKey } from '@bitauth/libauth';
53
*
54
- * const key = generatePrivateKey(secp256k1, () => randomBytes(32));
+ * const key = generatePrivateKey(() => randomBytes(32));
55
* ```
56
57
* **Browser Usage**
58
* ```ts
59
60
61
- * const key = generatePrivateKey(secp256k1, () =>
+ * const key = generatePrivateKey(() =>
62
* window.crypto.getRandomValues(new Uint8Array(32))
63
* );
64
0 commit comments