verify method

bool verify(
  1. List<int> message,
  2. List<int> signature
)

Verifies a Cosmos signature against a message digest.

Parameters:

  • message: The message digest.
  • signature: The signature bytes.

Returns:

  • True if the signature is valid, false otherwise.

Implementation

bool verify(List<int> message, List<int> signature) {
  return _verifyEcdsa(message, signature);
}