There is a SHA (or sha) function provided by Pike 7.4 in the Crypto class. But is this SHA-0 or SHA-1?
SHA-1.
On a related note, I have problems building 7.4. I get
configure: configuring in _Regexp_PCRE configure: running /bin/bash /home/nilsson/Pike/7.4/src/modules/../configure --prefix=/usr/local '--prefix=/usr/local' '--cache-file=.././config.cache' '--srcdir=/home/nilsson/Pike/7.4/src/modules' --cache-file=../.././config.cache --srcdir=/home/nilsson/Pike/7.4/src/modules/_Regexp_PCRE configure: error: cannot find sources (interpret.c) in /home/nilsson/Pike/7.4/src/modules/_Regexp_PCRE configure: error: /bin/bash /home/nilsson/Pike/7.4/src/modules/../configure failed for _Regexp_PCRE configure: error: /home/nilsson/Pike/7.4/src/modules/configure failed for modules make: *** [config.status] Error 1
which confuses me, as configure.in doesn't mention interpret.c at all.
Rebuild your configure scripts (make force_autoconfig). Get it that too every once in a while. Don't know why.
pike-devel@lists.lysator.liu.se