• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 886
  • Last Modified:

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.
  • 2
1 Solution
BillyBoJimBobAuthor Commented:

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now