The Little Guy Posted February 21, 2010 Share Posted February 21, 2010 Is there a way to encrypt a string using a key, and only if you know the key can you decrypt it? Quote Link to comment https://forums.phpfreaks.com/topic/192775-string-encryption/ Share on other sites More sharing options...
premiso Posted February 21, 2010 Share Posted February 21, 2010 Ummm, yes. That is sort of the point of encryption. For more information of types of encryption (as some encryption methods are better than others) see http://en.wikipedia.org/wiki/Encryption EDIT: For methods of PHP, google can be of some use: http://www.google.com/search?hl=en&source=hp&q=php+encyption+methods&aq=f&aqi=g-sx10&oq= Quote Link to comment https://forums.phpfreaks.com/topic/192775-string-encryption/#findComment-1015477 Share on other sites More sharing options...
The Little Guy Posted February 21, 2010 Author Share Posted February 21, 2010 If found what I want, mcrypt Quote Link to comment https://forums.phpfreaks.com/topic/192775-string-encryption/#findComment-1015479 Share on other sites More sharing options...
perseadrian Posted February 21, 2010 Share Posted February 21, 2010 Is there a way to encrypt a string using a key, and only if you know the key can you decrypt it? No. There are no functions in php for this kind of encryption, but you can find here a list of encryption: http://www.php.net/manual/en/refs.crypto.php Quote Link to comment https://forums.phpfreaks.com/topic/192775-string-encryption/#findComment-1015649 Share on other sites More sharing options...
The Little Guy Posted February 27, 2010 Author Share Posted February 27, 2010 Is there a way to encrypt a string using a key, and only if you know the key can you decrypt it? No. There are no functions in php for this kind of encryption, but you can find here a list of encryption: http://www.php.net/manual/en/refs.crypto.php Yes there is, I just posted a link to it. Quote Link to comment https://forums.phpfreaks.com/topic/192775-string-encryption/#findComment-1019032 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.