Canonical SHA-256 identity text is exactly 64 lowercase ASCII hex bytes.
Uppercase is deliberately rejected so one digest has one display spelling.
1376def sha256DigestHexByteInRange =
1377 (lambda unrestricted value : Byte .
1378 (lambda unrestricted lower : Byte .
1379 (lambda unrestricted upper : Byte .
1380 (naturalAnd
1381 (naturalLessOrEqual (byte-to-nat lower) (byte-to-nat value))
1382 (nat-less-than (byte-to-nat value) (byte-to-nat upper))))))The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.