added sha1 to the expr engine

welcome %{sha1:….} to the party. may md5 rest in peace.