computeChecksum static method
Compute and return the checksum for the provided List
Parameters:
- dataBytes: The List
Returns: A List
Implementation
static List<int> computeChecksum(List<int> dataBytes) {
final doubleSha256Digest = QuickCrypto.sha256DoubleHash(dataBytes);
return doubleSha256Digest.sublist(0, Base58Const.checksumByteLen);
}