• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Asymetric Encryption

New Here ,
Jul 14, 2010 Jul 14, 2010

Copy link to clipboard

Copied

Hi,

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

Thanks

Paul

TOPICS
Advanced techniques

Views

424

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jul 20, 2010 Jul 20, 2010

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation