im currently implementing a security module in a voting system and i was wondering what is the fastest way to encrypt (not hash) data in php? I was thinking something something like TEA, but i’ve never really tested the performance. I would really appreciate if someone share some know-how here.
im currently implementing a security module in a voting system and i was wondering
Share
My suggestion is PHP’s mcrypt module: http://php.net/manual/en/book.mcrypt.php
Code sample: