Hacker News new | past | comments | ask | show | jobs | submit login

> I had to encrypt something in PHP then decrypt it in ColdFusion. Despite being the same algorithm, key, etc, it didn't work. Strangely, the exact same data in the other direction (CF->PHP) worked just fine.

Padding issues most likely.

PHP might auto detect padding, while CF might not.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: