Updated Hash to support digest update functions.