Encryption is hard: AES encryption to Hex
- by Rob Cameron
So, I've got an app at work that encrypts a string using ColdFusion. ColdFusion's bulit-in encryption helpers make it pretty simple:
encrypt('string_to_encrypt','key','AES','HEX')
What I'm trying to do is use Ruby to create the same encrypted string as this ColdFusion script is creating. Unfortunately encryption is the most confusing computer…