From: Spencer Roan Date: 2012-06-27T04:12:44+09:00 Subject: Re: AES Standard Examples confusion Thanks for the feedback! I've ripped out the base64 encoding decoding, though i'll be providing wrapper methods for that once I get everything sorted out. I am now converting the strings from hexdigest to hex strings and things are much better! All of the specs pass except those having to do with CBC cipher mode. For CBC decrypting after encrypting gets me back what I started with. Yay. expected cipher_text is a substring of the actual cipher_text. ??? expected cipher_text is 16 characters long, the actual is 32 characters long. hrm... This is puzzling. I suppose I could have copied the examples incorrectly, but the lengths of all of the the cbc fields seems consistent with the other cipher modes. -- Posted via http://www.ruby-forum.com/.