We help IT Professionals succeed at work.

New podcast episode! Our very own Community Manager, Rob Jurd, gives his insight on the value of an online community. Listen Now!


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

Last Modified: 2013-11-22
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.
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)



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
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.