Problem with Encrypt Library and random results |
[eluser]Skinnpenal[/eluser]
Hi! I'm using the CI Encrypt Library for an encryption that I need to be two-way, and I don't have mcrypt available, so I'm using the "fall back" method of the library. The problem is that I need the encrypted string to be the same everytime it encrypts the same content. So, if I encrypt "foo" 3 times, it will give 3 different results, while I need it to be the same. Are there any ways of achieving this?
[eluser]renownedmedia[/eluser]
Maybe use a different two-way encryption? PGP: http://www.phpclasses.org/browse/package/378.html |
Welcome Guest, Not a member yet? Register Sign In |