good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^4: Opening an Encrypted DB_File databaseby crabbdean (Pilgrim) |
on Jul 14, 2004 at 18:10 UTC ( [id://374376]=note: print w/replies, xml ) | Need Help?? |
Yeah, I thought about that ... but considered its better than not encrypting it at all. If I left it unencrypted they definitely would know the format. In addition I've written it to use 2 ciphers both with different 256 bit keys, and both keys are based on two different passwords which are themselves encrypted by two different 256 bit ciphers. On top of that the contents of the file is encrypted in a different cipher than the file encryption. Additionally the contents remains in an encrypted state in memory. The GUI requires an 8 digit password plus an 8 digit pin that can only be entered manually via a keypad on the GUI, and the program has a 30 second delay before it runs again. That should stop any brute force attempts. Any other ideas are welcome. :-) Dean The Funkster of Mirth Programming these days takes more than a lone avenger with a compiler. - sam RFC1149: A Standard for the Transmission of IP Datagrams on Avian Carriers
In Section
Seekers of Perl Wisdom
|
|