win32crypt.CryptGetDefaultProvider

PyUnicode = CryptGetDefaultProvider(ProvType, Flags )

Returns default provider for local machine or current user

Parameters

ProvType : int

Type of provider (PROV_* constant)

Flags : int

CRYPT_MACHINE_DEFAULT or CRYPT_USER_DEFAULT