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.
The backend to verify.
If any of the built-in test vectors fail.
const backend = createNobleBackend();verifyCryptoBackend(backend); // throws if broken Copy
const backend = createNobleBackend();verifyCryptoBackend(backend); // throws if broken
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.