MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / CryptHashData

Function CryptHashData

windows/winproxy/apis/advapi32.py:583–588  ·  view source on GitHub ↗
(hHash, pbData, dwDataLen=None, dwFlags=0)

Source from the content-addressed store, hash-verified

581
582@Advapi32Proxy()
583def CryptHashData(hHash, pbData, dwDataLen=None, dwFlags=0):
584 if isinstance(pbData, windows.pycompat.anybuff):
585 pbData = (gdef.BYTE * len(pbData))(*bytearray(pbData))
586 if dwDataLen is None:
587 dwDataLen = len(pbData)
588 return CryptHashData.ctypes_function(hHash, pbData, dwDataLen, dwFlags)
589
590@Advapi32Proxy()
591def CryptGetHashParam(hHash, dwParam, pbData, pdwDataLen=None, dwFlags=0):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected