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-
>
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287488
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to