henryhuang / winzipaes

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

Patch to use SecureRandom for salt generation #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Attached is a patch to change AESEncrypterBC to use java.security.SecureRandom 
instead of java.util.Random to generate the salt.  It also initializes all 16 
bytes of salt rather than just the first 8.

Original issue reported on code.google.com by mdemp...@google.com on 18 May 2011 at 9:57

Attachments:

GoogleCodeExporter commented 9 years ago
thank you

Original comment by olaf.merkert on 20 May 2011 at 4:40