Pages

Friday, October 14, 2011

iPhone4S day!

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. :)

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:
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.

Thursday, September 22, 2011

AES and Java: Part the Third

So, in review, I needed to be able to encrypt a string using AES.

  • I started with a simple test to see if I could get the original string back after encrypting it.
  • The next step was to actually try hooking up the Java Cryptography classes to do the heavy lifting.
  • In this installment I'll clean up my current solution and extend it just a bit to be more generally useful.

Wednesday, September 21, 2011

JCE Exploration Part 2

As I explained in my prior post I'm trying to figure out how to use the Java Cryptography classes to encrypt a string using AES.

I have a little test that passes but doesn't actually do any encryption. How shall I proceed?

A little excursion into JCE

I had an occasion to explore a bit of Java that I've never dealt with before: the Java Cryptography Extensions (as of Java 1.4 these are part of the Java distribution). The problem at hand required being able to encrypt a string using the Rijndael algorithm (AES).

Wednesday, June 8, 2011

Geek Night 06/08/2011

We had eight open-sourcers tonight. The largest contingent was Greg Heartsfield and his friends from Bell--Nick and first-timer Mike. We had two other newcomers--Kevin and Engin.

Wednesday, June 1, 2011

Starting off on the write foot...

...and by that I mean writing tests....

It has been a few frustrating sessions at Dallas Geek Night.

I've looked at a couple of technologies for writing iOS apps (even though I don't yet have an iPhone or iPad).
  • mobl is like a DSL where you can declaratively layout screens and controls and will run in a webkit based browser.
  • MonoTouch is a commercial plugin for MonoDevelop that allows you to write iOS apps in C#
I've also looked at partychapp.

So what is my frustration? Tests or the lack thereof.
When I start to work on a project I want to be able to quickly start writing unit tests.