sha256Hash function

Future<String> sha256Hash(
  1. Uint8List bytes
)

SHA-256 over exact bytes, formatted the way the manifest writes it.

Implementation

Future<String> sha256Hash(Uint8List bytes) async =>
    'sha256:${sha256.convert(bytes)}';