Generates a random ECDSA private key on the secp256k1 curve.
import { Secp256k1 } from "ox"; const privateKey = Secp256k1.randomPrivateKey();
function randomPrivateKey( options?: Options<as>,): randomPrivateKey.ReturnType<as>;
The options to generate the private key.
let options: Options<as>;
let returnType: randomPrivateKey.ReturnType<as>;
The generated private key.