Can an MD5-hash begin with a zero? What about SHA-1?
MD5 hash of "a" = 0cc175b9c0f1b6a831c399e269772661
SHA1 hash of "9" = 0ade7c2cf97f75d009975f4d720d1fa6c19f4897
Yes:
$ echo -n "363" | md5sum
00411460f7c92d2124a67ea0f4cb5f85 -
$ echo -n "351" | sha1sum
0026476a20bfbd08714155bb66f0b4feb2d25c1c
Found by running the following in bash:
for i in {1..1000} ; do echo $(echo -n $i | md5sum) $i ; done | sort | head