Signs the provided digest using the appropriate algorithm based on the available signing key.
digest The digest to be signed.
digest
List<int> sign(List<int> digest) { return _signingKey.sign(digest, () => SHA512()); }