crypto bugs fixed part IV,
hash functions changed
signature functions modified