rakuten / as3crypto

Automatically exported from code.google.com/p/as3crypto
0 stars 1 forks source link

AFAIK nothing on the Secret Key page actually works on the demo #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go the the Secret Key tab
2. Generate a Key
3. Type some text
4. Press the Encrypt button (you may see errors at this point)
5. Press the Decrypt button (you may also see errors at this point)

Expected outcome:  The text is the same as what was typed in
Actual Outcome: Garbage?

What version of the product are you using? On what operating system?
Demo, any version thatI've gotten ahold of.

Please provide any additional information below.

Original issue reported on code.google.com by Palan...@gmail.com on 22 Feb 2009 at 1:15

GoogleCodeExporter commented 9 years ago
I just found the same. Any change to get a fix for this? The error happens in 
CBCMode.decrypt(), if that helps.

Original comment by knueffel...@gmail.com on 4 Aug 2009 at 9:39

GoogleCodeExporter commented 9 years ago
Same problem here, the exact error is:
RangeError: Error #2006: The supplied index is out of bounds.
    at flash.utils::ByteArray/writeBytes()
    at com.hurlant.crypto.symmetric::CBCMode/decrypt() 
[C:\ws\Crypto\com\hurlant\crypto\symmetric\CBCMode.as:40]
    at com.hurlant.crypto.symmetric::SimpleIVMode/decrypt() 
[C:\ws\Crypto\com\hurlant\crypto\symmetric\SimpleIVMode.as:52]

Original comment by jeffreyt...@gmail.com on 25 Sep 2009 at 4:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I guess if you have "Plain Text" and "Cipher Text" both set to 'Text' then you 
get this error.  If you set "Plain Text" to 'Text' and "Cipher Text" to 
'Hex'... you don't get the error and it works like a charm.  

Original comment by nathandr...@gmail.com on 21 Jul 2010 at 3:25