Link to home
Start Free TrialLog in
Avatar of BillyBoJimBob
BillyBoJimBob

asked on

Tcl, 8.2, tcllib 1.3 AES encryption Vignette v6, Tcl, FireFox

I am using Tcl 8.2 / Vignette v6 for web development.

Currently the highest standard of security encoding/encryption available with tcllib 1.3 is base64 encoding.
I need to find out how to implement the AES encryption (Available in tcllib1.8-1.10) within the confines of Tcl 8.2 / Vignette v6.

To do this I am willing to attempt to find any way to use the open source code of tcllib 1.8 to make my own version of the aes implementation.

The risks are too great to upgrade the entire tcllib.

Any help is greatly appreciated.
Time is of the essence.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BillyBoJimBob
BillyBoJimBob

ASKER

ahoffmann,

Sorry for the delay.  I'd been diverted to other fires.
I had originally thought I couldn't use this aes implementation because the test scripts required the use of a higher tester version.

I have successfully implemented this package without the need to install it.

Some stop points are: it requires that I only pass 16 bits of data at a time, so it looks like I will need to do some recursive work to encrypt a larger text block.

16 bits to me means I have to pre-convert the text to hex character format.  I can't find a working implementation of that and my attempts at it so far are feeling somewhat infantile.

Also, say I need to encrypt a value that is less than 16 bits.  When I decrypt it, it get's left-padded with zeros.  Some of my data that is needing to be encrypted is already left-padded with a varying amount of zeros.

I appreciate any additional help you or anyone else can provide.
sorry, have no experiance with that library