Using Win32 functions in Visual FoxPro Image Gallery
Cryptography Reference
..msdn
CertCloseStore
CertFindCertificateInStore
CertFreeCertificateContext
CertOpenSystemStore
CryptAcquireContext
CryptBinaryToString
CryptCreateHash
CryptDecrypt
CryptDeriveKey
CryptDestroyHash
CryptDestroyKey
CryptEncrypt
CryptEnumProviders
CryptEnumProviderTypes
CryptExportKey
CryptGenKey
CryptGenRandom
CryptGetDefaultProvider
CryptGetHashParam
CryptGetKeyParam
CryptGetProvParam
CryptHashData
CryptImportKey
CryptProtectData
CryptReleaseContext
CryptStringToBinary
CryptUnprotectData
WinVerifyTrust
Code examples:
How to create MD-5 and SHA-1 hash values from a string
CryptGetHashParam
..msdn    Add comment     W32 Constants      Translate this page
Retrieves data that governs the operations of a hash object. The actual hash value can be retrieved by using this function.
Code examples:
How to create MD-5 and SHA-1 hash values from a string
Declaration:
BOOL WINAPI CryptGetHashParam(
    HCRYPTHASH hHash,
    DWORD dwParam,
    BYTE* pbData,
    DWORD* pdwDataLen,
    DWORD dwFlags
);
FoxPro declaration:
DECLARE INTEGER CryptGetHashParam IN advapi32;
    INTEGER  hHash,;
    LONG     dwParam,;
    STRING @ pbData,;
    LONG   @ pdwDataLen,;
    LONG     dwFlags
Parameters:
hHash
[in] Handle of the hash object to be queried.

dwParam
[in] Query type.

pbData
[out] Pointer to a buffer that receives the specified value data.

pdwDataLen
[in, out] Pointer to a DWORD value specifying the size, in bytes, of the pbData buffer.

dwFlags
[in] Reserved for future use and must be zero.
Return value:
If the function succeeds, the return value is TRUE.
My comment:
Parameter pbData can be NULL to determine the memory size required.
Word Index links for the CryptGetHashParam :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2005-03-07 15:35:48
Modified: 2005-03-07 15:38:09
Visited in last 7 days: 18
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.196.119.93)
1 sec.Function: 'LsaClose'
3 sec.Function: 'mixerGetNumDevs'
Function group: 'Windows Multimedia'
22 sec.Example: 'Using Video Capture: enumerating installed capture drivers'
26 sec.Function: 'closesocket'
Function group: 'Windows Sockets 2 (Winsock)'
33 sec.Function: 'RtlCompressBuffer'
57 sec.Example: 'Reading keys in the specified section of the Win.ini file'
23.21 hrs.Example: 'How to enumerate terminal servers within the specified Windows domain'
 Function: 'FindClose'
Function group: 'File Management'
 Example: 'Pocket PC: base class'
 
Function group: 'GDI+ Graphics'
Google
Advertise here!