From: Tony Arcieri Date: 2012-06-26T07:32:38+09:00 Subject: Re: AES Standard Examples confusion --0015175cdec6f74e2904c3538e61 Content-Type: text/plain; charset=ISO-8859-1 The test vectors are hexadecimal and you're using base64 On Mon, Jun 25, 2012 at 3:19 PM, Spencer Roan wrote: > I am integrating with a 3rd party using AES encryption. Our encryption > and theirs do not match up, So I set to find some standard examples. I > found some test vectors/known examples at > > http://www.inconteam.com/software-development/41-encryption/55-aes-test-vectors > . > > I used these samples to create some tests to see what cases were not > working. The good news is that decrypting something I have encrypted > results in what I have started with. The bad news is that none of the > examples matches the expectation. > > The code is here: > https://github.com/spencerroan/aes_encryption > > At this point I am assuming that I've messed it up some how, but I am > open to other explanations. > I'm going to keep looking around to see if I can find tests for openssl. > > Thanks! > > -- > Posted via http://www.ruby-forum.com/. > > -- Tony Arcieri --0015175cdec6f74e2904c3538e61 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The test vectors are hexadecimal and you're using base64

On Mon, Jun 25, 2012 at 3:19 PM, Spencer Roan <list= s@ruby-forum.com> wrote:
I am integrating with a 3rd party using AES = encryption. Our encryption
and theirs do not match up, So I set to find some standard examples. I
found some test vectors/known examples at
http://www.inconteam.com/software-develo= pment/41-encryption/55-aes-test-vectors.

I used these samples to create some tests to see what cases were not
working. The good news is that decrypting something I have encrypted
results in what I have started with. The bad news is that none of the
examples matches =A0the expectation.

The code is here:
https://github.com/spencerroan/aes_encryption

At this point I am assuming that I've messed it up some how, but I am open to other explanations.
I'm going to keep looking around to see if I can find tests for openssl= .

Thanks!

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




-- Tony Arcieri

--0015175cdec6f74e2904c3538e61--