2006年11月10日 星期五

PowerBuilder MD5加密

Secure Your Passwords @ POWERBUILDER DEVELOPER'S JOURNAL
Use Microsoft Crypto API

Cryptography Functions
CryptAcquireContext
CryptCreateHash
CryptReleaseContext
CryptHashData
CryptDestroyHash
CryptGetHashParam

Passing a byte array into CryptHashData
Interoperability between CryptoAPI and .NET
Win32 Application CryptoAPI
advapi32.dll?

===========================================

Encryption in PowerBuilder Page 1 of 2
Encryption in PowerBuilder Page 2 of 2

1.Use Microsoft Crypto API

2.PowerBuilder Crypto Library For PB10
PB10 install path
EX: C:\Program Files\Sybase\PowerBuilder 10.5\Cryptograph

Include the following JAR files in your CLASSPATH system environment variable:
jce.jar , pbcrypto-1_0.jar , bcprov-jdk14-119.jar

Add the following files to the library list of your PoweBuilder target:
pbcryptoclient105.pbd , pbejbclient105.pbd

jce.jar Part of the JDK 1.4.x installation. Available
bcprov-jdk14-119.jar http://www.bouncycastle.org/download/

3.Use Single DLL
www.eskimo.com/~weidai/cryptlib.html

===========================================

Calling a Java Class from PowerBuilder 10
Generating EJB proxy objects
Using an EJB Proxy project
Use a Java class (PB9)

沒有留言: