Re: Encryption - CAST128(cast5)

2007-08-30 Thread J W
Tom, Got a real interesting part here. The company is giving me keys that are NOT 128bit and they are alphanumeric. Do you have any idea how to pad or create a key for cast128 that are currently like 9 alpha numeric characters long. In no way is that a 128bit key. So there must be some type of

Re: Encryption - CAST128(cast5)

2007-08-30 Thread J W
BTW Dyncrypto is is the third party object. On 8/30/07, J W [EMAIL PROTECTED] wrote: Tom, Got a real interesting part here. The company is giving me keys that are NOT 128bit and they are alphanumeric. Do you have any idea how to pad or create a key for cast128 that are currently like 9

Re: Encryption - CAST128(cast5)

2007-08-30 Thread Tom Donovan
Jeff, I downloaded an eval of DynCrypto and gave it a try. Usually it is very hard to figure out how passwords are turned into 128-bit keys, but since DynCrypto only offers one hash function - SHA1 - a little experimenting showed that they use the first 128 bits (32 hex digits) of the SHA1

Re: Encryption - CAST128(cast5)

2007-08-24 Thread J W
Installed Saw the Adobe technote on installing it too. Seems to work. Now I am trying to match the encryption results to my expected results. They are different. I am guessing it a matter of getting apples to apples at this time and it probably has to do with key length or something... Cast5

Encryption - CAST128(cast5)

2007-08-23 Thread J W
I have a project that I have been handed that needs a piece encrypted in CAST128 (Cast5). Has anyone here worked with that encryption method? If so what is the best way to integrate that into Coldfusion. Thanks! Jeff ~|

Re: Encryption - CAST128(cast5)

2007-08-23 Thread Brian Kotek
I'd probably try to find a Java implementation of it and use that. On 8/23/07, J W [EMAIL PROTECTED] wrote: I have a project that I have been handed that needs a piece encrypted in CAST128 (Cast5). Has anyone here worked with that encryption method? If so what is the best way to integrate

RE: Encryption - CAST128(cast5)

2007-08-23 Thread Dave Watts
I haven't used this from CF specifically, but I would otherwise recommend the Legion of the Bouncy Castle: http://www.bouncycastle.org/docs/docs1.4/org/bouncycastle/jce/provider/symme tric/CAST5.CBC.html Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the

Re: Encryption - CAST128(cast5)

2007-08-23 Thread Tom Donovan
The Bouncy Castle encryption provider at: http://www.bouncycastle.org/latest_releases.html includes CAST5 and works fine with CF7 or CF8. You want the signed bcprov*.jar which goes with your version of Java. You will also need to get the Unlimited Encryption Strength Jurisdiction Policy