Though not a guru at all I can try to put my few cents on it 😉
I'm not sure you want to encrypt or hash but I will assume both. Any encryption with time, machine advances et al can be broken at some point but so far AES 128 and its family are strong enough to protect your top secret docs. I believe the security organ of the US have approved this family for CIA docs (I read it long time so my memory might be wrong so check out in net). As far as hashing is concerned stay away from MD5, as it have proven to be weak in some technical sense (want me go on collisions and such?). Get hold of SHA2 family. Remember to do salting so that even two same strings will generate different hashes....
Enjoy,
BH