docs(code): adds documentation for the hash class