sign method

List<int> sign(
  1. List<int> digest
)

Signs the provided digest using the appropriate algorithm based on the available signing key.

digest The digest to be signed.

Implementation

List<int> sign(List<int> digest) {
  return _signingKey.sign(digest, () => SHA512());
}