Blockchain Commons Crypto TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Function ecdsaNewPrivateKeyUsing

    • Generate a new random ECDSA private key using secp256k1.

      Note: Unlike some implementations, this directly returns the random bytes without validation. The secp256k1 library will handle any edge cases when the key is used.

      Parameters

      • rng: RandomNumberGenerator

      Returns Uint8Array