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:
A class that encrypts and decrypts files using Cryptography API Functions
How to create MD-5 and SHA-1 hash values from a string
CryptHashData
..msdn    Add comment     W32 Constants      Translate this page
Adds data to a specified hash object.
Code examples:
How to create MD-5 and SHA-1 hash values from a string
A class that encrypts and decrypts files using Cryptography API Functions
Declaration:
BOOL WINAPI CryptHashData(
    HCRYPTHASH hHash,
    BYTE* pbData,
    DWORD dwDataLen,
    DWORD dwFlags
);
FoxPro declaration:
DECLARE INTEGER CryptHashData IN advapi32;
    INTEGER  hHash,;
    STRING @ pbData,;
    LONG     dwDataLen,;
    LONG     dwFlags

Parameters:
hHash
[in] Handle of the hash object.

pbData
[in] Pointer to a buffer containing the data to be added to the hash object.

dwDataLen
[in] Number of bytes of data to be added. This must be zero if the CRYPT_USERDATA flag is set.

dwFlags
[in] Ignore.
Return value:
If the function succeeds, the return value is TRUE.
My comment:
This function and CryptHashSessionKey can be called multiple times to compute the hash of long or discontinuous data streams.
Word Index links for the CryptHashData :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2005-03-07 15:33:35
Modified: 2005-03-07 15:40:11
Visited in last 7 days: 19
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.
Google
Advertise here!