I'm used to seeing SHA256 hashes printed as hexadecimal, but how is this one encoded? u98a9cjsd98saud090923ßkpoasköf9ß32
This is from the Snakemake documentation, in this context:
A sha256 checksum can be compared as follows:
my_checksum = "u98a9cjsd98saud090923ßkpoasköf9ß32" rule NAME: output: ensure("test.txt", sha256=my_checksum) shell: "somecommand {output}"
Is that not actually encoded at all and those are just the bytes of the hash? I'd expect it to be a bytes
object and not a string, though.
Added in snakemake #1651, it seems like a mistake or an oversight. Perhaps just someone mashing keys on a German keyboard layout?
In snakemake #2987 I've changed this example to:
9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08
Which is the sha256 hex digest of the bytes b"test"
.