AES problem
Hi
Does anybody know how AES_Encrypt works?
My problem:
I have a key and a text in hex:
key: 000102030405060708090A0B0C0D0E0F
text: 000102030405060708090A0B0C0D0E0F
... both are 128 bit long. Now when I apply the function I get a 256 bit string:
0AC2940BC2B5416EC3B045C3B1C383C29458C38653C3AA5AC2954F64C3B2C3A4
This is kind of weird because both the montecarlo test posted by the authors of aes and a JavaScript version of the algorithm (http://www-cse.ucsd.edu/~fritz/rijndael_test.html) output a 128 bit string: 0A940BB5416EF045F1C39458C653EA5A
Note: I didn't stored the values in the database, just used QueryBrowser to display the result. Then I saved the result to a file.
What could be the problem?
Subject
Views
Written By
Posted
AES problem
3673
April 06, 2005 11:48AM
2376
February 13, 2007 01:05AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.