@btc-vision/ecpair - v4.0.2
    Preparing search index...

    Function verifyCryptoBackend

    • Runs a comprehensive suite of known-answer tests against a CryptoBackend implementation to verify correctness.

      Call this once after constructing a backend to catch broken or incompatible elliptic-curve libraries early.

      Parameters

      Returns void

      If any of the built-in test vectors fail.

      const backend = createNobleBackend();
      verifyCryptoBackend(backend); // throws if broken