Fix Sha512 hashing (not currently supporting spaces)

Signed-off-by: Frca <killerfrca@gmail.com>