toString for SHA-1 digester
More readable assertion
SHA-1 digester in javascript