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? 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= 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 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 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. Link to comment https://forums.phpfreaks.com/topic/192775-string-encryption/#findComment-1019032 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.