parameters: (ch)
return_statement: return dgstr.hexdigest()
docstring: Compute hash of challenge object.
docstring_summary: Compute hash of challenge object.
docstring_tokens: Compute hash of challenge object .
function: def hash_challenge(ch):
      '''Compute hash of challenge object.'''
      dgstr = hashlib.sha256()
      dgstr.update(ch['username'])
      dgstr.update(ch['ts'])
      dgstr.update(ch['spki_b64'])
      dgstr.update(ch['ip'])
      dgstr.update(ch['nonce'])
      return dgstr.hexdigest()
function_tokens: def hash_challenge ( ch ) : dgstr = hashlib . sha256 ( ) dgstr . update ( ch [ 'username' ] ) dgstr . update ( ch [ 'ts' ] ) dgstr . update ( ch [ 'spki_b64' ] ) dgstr . update ( ch [ 'ip' ] ) dgstr . update ( ch [ 'nonce' ] ) return dgstr . hexdigest ( )