Added all SHA2 variants.
Added all SHA-2 algorithms.
Fixed bug in the length handling; improved test program.