title: Check if a string is xxx-bits hashed
body: <p>How do I check if a string was hashed up to a certain bits? I want to unit test my method (which uses SHA512), I want to write a test to check if that string returned was 512-bit hashed.</p>