Change name from SignAlgorithm to HashAlgorithm.

Fix the wrong name to hash algorithm.
Fix documentation bugs.

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>