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 alpha numeric characters > long. In no way is that a 128bit key. So there must be some type of padding > of that key. The company I am working with on this isn't very knowledgeable > with the CAST encryption as they had a 3rd party develop the integration > of the encryption routine for them. Of course there is an active X component > that supposedly does this without issue (the company recomends this), but I > want to steer away from that and use the bouncy castle/coldfusion encrypt to > do it. So I am walking into this double blind so to speak, so any > suggestions you might have, I am willing to listen. > > Thanks, > jeff > > On 8/23/07, Tom Donovan <[EMAIL PROTECTED]> wrote: > > > If you're decrypting something encrypted by other (non-CF) software, you > > will probably want to read all the TechNote details about feedback > > modes, padding, IV and Salt. > > > > You'll also need the 128-bit key in Base64. If you have the key in hex, > > > > you can convert it with: > > > > <cfset b64Key = ToBase64(BinaryDecode(hexKey, "hex")) > > > > > -tom- > > > > > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287490 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

