ejenixVerifyAssetBytes function

bool ejenixVerifyAssetBytes({
  1. required Uint8List bytes,
  2. required String sha256Hex,
})

Implementation

bool ejenixVerifyAssetBytes({
  required Uint8List bytes,
  required String sha256Hex,
}) {
  return sha256.convert(bytes).toString() == sha256Hex.toLowerCase();
}