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
CryptDeriveKey
..msdn    Add comment     W32 Constants      Translate this page
Generates cryptographic session keys derived from a base data value.
Code examples:
A class that encrypts and decrypts files using Cryptography API Functions
Declaration:
BOOL WINAPI CryptDeriveKey(
    HCRYPTPROV hProv,
    ALG_ID Algid,
    HCRYPTHASH hBaseData,
    DWORD dwFlags,
    HCRYPTKEY* phKey
);

FoxPro declaration:
DECLARE INTEGER CryptDeriveKey IN advapi32;
    INTEGER hProv,;
    INTEGER Algid,;
    INTEGER hBaseData,;
    LONG dwFlags,;
    INTEGER @phKey
Parameters:
hProv
[in] A HCRYPTPROV handle of a CSP created by a call to CryptAcquireContext.

Algid
[in] An ALG_ID structure that identifies the symmetric encryption algorithm for which the key is to be generated.

hBaseData
[in] Handle to a hash object that has been fed the exact base data.

dwFlags
[in] Specifies the type of key generated.

phKey
[in, out] Address to which the function copies the handle of the newly generated key. When you have finished using the key, release the handle by calling the CryptDestroyKey function.
Return value:
If the function succeeds, the function returns nonzero (TRUE).
Word Index links for the CryptDeriveKey :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2006-04-21 18:21:09
Modified: 2006-04-21 18:23:09
Visited in last 7 days: 50
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 (184.72.69.79)
3 sec.Function: 'InternetCrackUrl'
Function group: 'Internet Functions (WinInet)'
19 sec.
Function group: 'Dialog Box'
23 sec.Function: 'IsValidSid'
33 sec.Function: 'SCardEstablishContext'
1.97 min.Example: 'Subclassing CommandButton control to create BackColor property'
Google
Advertise here!