I have a requirement to store credit card information (do not store this is NOT an option).
Using mcrypt with mcrypt_dev_random to generate init_vector requires different ages for encryption / decryption, but seems to be the most "secure" option. mcrypt_dev_urandom is MUCH faster, but not suitable for long-term storage - as I read.
Looking at GnuPG as a possible alternative, and I would like, if possible, to express opinions / lead them.
source share