Nar.sri: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/sha/nar.bend as Nar Lines 202-204 of ezx@1.11.0.0/src/sha/nar.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/sha/nar.bend&start_line=202&end_line=204 import Base import ezx@1.11.0.0/src/share/sha.bend as Sha # the SRI of some bytes: `sha256-` and the base64 of their digest def sri(+bytes: String) -> String: sri.hex(Sha.raw(bytes)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/sha/nar.bend&name=sri.hex https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/sha.bend&name=raw