pymensago/keycard.py
def generate_hash(self, algorithm: str) -> RetVal:
		'''Populates the hash attribute based on the data in the entry. For supported algorithms,
		see EntryBase.get_hash()'''  
		status = self.get_hash(algorithm)
		if status.error():
			return status
		
		self.hash = status['hash']
		return status
Populates the hash attribute based on the data in the entry. For supported algorithms,
		see EntryBase.get_hash()
Populates the hash attribute based on the data in the entry.
Populates the hash attribute based on the data in the entry .
def generate_hash(self, algorithm: str) -> RetVal:
		status = self.get_hash(algorithm)
		if status.error():
			return status
		self.hash = status['hash']
		return status
def generate_hash ( self , algorithm : str ) -> RetVal : status = self . get_hash ( algorithm ) if status . error ( ) : return status self . hash = status [ 'hash' ] return status
Populates the hash attribute based on the data in the entry.
Populates the hash attribute based on the data in the entry .
'''Populates the hash attribute based on the data in the entry. For supported algorithms,
		see EntryBase.get_hash()'''
self
algorithm
str