# \[PHP\] MCrypt, Best Algorithm

**URL:** <https://forum.kirupa.com/t/php-mcrypt-best-algorithm/195319>\
**Category:** programming\
**Created:** [July 30, 2006, 9:54pm UTC](https://forum.kirupa.com/t/php-mcrypt-best-algorithm/195319 "2006-07-30T21:54:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esherido](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/esherido/32/2158_2.png) [@Esherido](https://forum.kirupa.com/u/Esherido)\
**Post date:** [July 30, 2006, 9:54pm UTC](https://forum.kirupa.com/t/php-mcrypt-best-algorithm/195319/1 "2006-07-30T21:54:40Z")

</div>

Ok, I’ve searched the forums, but I haven’t found the answer to this. I have an XML document with some peoples personal information in it, what is the best way to keep encrypt the XML data with MCrypt, because I know different algorithms work best for different types of data. Any suggestions? (TripleDES, Blowfish, RD4, etc)

[RIGHT]😃 Thanks,  
Esherido  
[/RIGHT]
