Added methods to allow for user supplied sha512 hash