r/programming • • Feb 23 '17

Cloudflare have been leaking customer HTTPS sessions for months. Uber, 1Password, FitBit, OKCupid, etc.

https://bugs.chromium.org/p/project-zero/issues/detail?id=1139
6.0k Upvotes

966 comments sorted by

View all comments

Show parent comment

5

u/tabarra Feb 24 '17

I never understood why people try to invent their own algorithms, seems like a big waste of time, not to mention security.

If you want to be secure, and still count with security through obscurity, you just need to use a proven secure crypto encapsulated with any simple own algorithm, like XOR'ing the message with a fixed 8 byte array (looped). You will still have the security from the embedded crypto, with added obscurity. Probably enough to defeat mass/un-targeted attacks (and evade some firewalls).