Thanks I have it working now. I have one other question, why doesn't 
ruby openssl support counter mode of operation??

-- 
Posted via http://www.ruby-forum.com/.