AbydosGater Posted November 14, 2006 Share Posted November 14, 2006 Right i have been playing around with using flat file databases reciently...And i was wondering what would be the best method to encrypt and decrypt my data from the files?ThanksBase64, md5, encrypt()??Thanks Link to comment https://forums.phpfreaks.com/topic/27271-whats-the-best-encryption-method/ Share on other sites More sharing options...
The Little Guy Posted November 14, 2006 Share Posted November 14, 2006 You cannot decrypt data, when you compaire encrypted data, you must encrypt the data you want to compair to the already encrypted data.This is md5's Link to comment https://forums.phpfreaks.com/topic/27271-whats-the-best-encryption-method/#findComment-124716 Share on other sites More sharing options...
AbydosGater Posted November 14, 2006 Author Share Posted November 14, 2006 You can encode data with base64_encode, and then when finished decode with base64_decode...This is the method im using! Link to comment https://forums.phpfreaks.com/topic/27271-whats-the-best-encryption-method/#findComment-124719 Share on other sites More sharing options...
printf Posted November 14, 2006 Share Posted November 14, 2006 have a look at [url=http://us2.php.net/manual/en/ref.mcrypt.php]mycrypt[/url], if you need a example tell me, I'll post one... Link to comment https://forums.phpfreaks.com/topic/27271-whats-the-best-encryption-method/#findComment-124721 Share on other sites More sharing options...
AbydosGater Posted November 14, 2006 Author Share Posted November 14, 2006 Thanks ill take a look! Link to comment https://forums.phpfreaks.com/topic/27271-whats-the-best-encryption-method/#findComment-124727 Share on other sites More sharing options...
fert Posted November 14, 2006 Share Posted November 14, 2006 XOR encryption is almost impossible to break and it's easily reversible Link to comment https://forums.phpfreaks.com/topic/27271-whats-the-best-encryption-method/#findComment-124751 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.