Waiting to get my first smart phone. I've had my Motorola V551 for so long it still says 'Cingular' when I turn it on. :)
I'm currently a developer for ThoughtWorks and we sponsor a weekly Geek Night in our Dallas office. This blog will cover our activities and random related thoughts I might have.
Friday, October 14, 2011
Wednesday, October 5, 2011
Fixing up the AESEncryptor
A follow on to my previous posts about using the Java Cryptography stuff to perform simple encryption. It turns out I was using a proprietary class from Sun for the Base64 encoding/decoding.
I got rid of the imports for the proprietary classes:
And used the Base64 class from org.apache.commons.codec.
This only required a few minor changes to the decode/encode calls.
I got rid of the imports for the proprietary classes:
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
And used the Base64 class from org.apache.commons.codec.
This only required a few minor changes to the decode/encode calls.
Subscribe to:
Posts (Atom)