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

Posted on 2007-09-28
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.
Question by:BillyBoJimBob
    LVL 51

    Accepted Solution

    LVL 1

    Author Comment


    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.
    LVL 51

    Expert Comment

    sorry, have no experiance with that library

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
    I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now