PyCRYPTKEY.CryptEncrypt

str = CryptEncrypt(Final, Data , Hash , Flags )

Encrypts and optionally hashes data

Parameters

Final : int

Boolean, use True if this is final encryption operation

Data : buffer

Data to be encrypted

Hash=None : PyCRYPTHASH

Hash to be updated with data passed in, can be None

Flags=0 : int

Reserved, use 0 if passed in