FoxPro Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CUnicode C++Unicode CMFCDelphi DLLDelphi ActiveXFoxProJavaPerlPHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

Visual FoxPro Examples

Bounced Mail
Bz2
Character Encoding
CSV
Digital Certificates
Digital Signatures
Email
Email Object
FTP
HTML Conversion
HTTP
IMAP
Encryption
MHT / HTML Email
POP3
RSA
S/MIME
Socket
Spider
SFTP
SMTP
SSH
SSH Key
SSH Tunnel
String
Tar
Upload
XML
XMP
Zip Compression
Self-Extractor

More Examples...
Amazon S3
DKIM / DomainKey
NTLM
RSS
Atom
Byte Array
Service
PPMD
Deflate
DH Key Exchange
DSA
FileAccess
Bzip2
LZW

 

Non-Chilkat Links
Text and String Handling

List CSP Hash Algorithms

Lists the hash algorithms available for a CSP.

LOCAL loCsp
LOCAL i
LOCAL lnNumHashAlgs

loCsp = CreateObject('Chilkat.Csp')
loCsp.SetProviderMicrosoftEnhanced()

*  Other commonly used CSPs can be selected with these
*  methods:
*      SetProviderMicrosoftBase
*      SetProviderMicrosoftStrong
*      SetProviderMicrosoftEnhanced()
*  Otherwise the CSP can be selected by setting the ProviderName
*  property to the exact name of the Cryptographic Service Provider.

lnNumHashAlgs = loCsp.NumHashAlgorithms
FOR i = 0 TO lnNumHashAlgs - 1
    ? loCsp.GetHashAlgorithm(i)
NEXT

*  Sample output:
*  SHA-1
*  MD2
*  MD4
*  MD5
*  SSL3 SHAMD5
*  MAC
*  HMAC

© 2000-2013 Chilkat Software, Inc. All Rights Reserved.