From: Oreo Shake Date: 2010-01-29T05:26:14+09:00 Subject: Re: String Manipulation Problems (decoding hex) Roger Pack wrote: >> I'm using the output of another application (Java) that generates the >> key/IV and stores it as hex. > > http://snippets.dzone.com/posts/show/576 > perhaps? Thanks roger, that got me on the right path but the methods suggested did not work. Luckily I came across this post which is almost what I had in the beginning: http://rubyforge.org/tracker/index.php?func=detail&aid=25756&group_id=4134&atid=15864 basically all I had to do is: [key].pack('H*') -- Posted via http://www.ruby-forum.com/.