The hash signature algorithm.