1 Reply Latest reply on Jul 20, 2010 11:11 AM by insuractive

    Asymetric Encryption




      Whats the best way to achive asymetric encrytion with CF? I need to encrypt a CreditCard number on one server and stored the encrypted string in a db and then 5 minutes later another server takes the card number off that DB and then needs to decrypt it. Any suggestions gratefully received





        • 1. Re: Asymetric Encryption
          insuractive Level 3

          You can use the built in Encryp() function with AES and a shared key in a pinch.  Just watch your encoding as in goes in/comes out of the DB.  For real security, I would recommend picking up a command line PGP program (if you're on windows servers) and performing your encryption/decryption that way.  You'll need to have access to <cfexecute> on your CF server.