added sha512 support (RhBug:1082658)