by alias_neo · 6y ago · 0 comments
You'd be surprised how many people come up with this then don't think any further.
This is the kind of solution I see from new grads with no crypto/security experience, but whom with a quick frown, think about it a little more and suggest why this is a bad idea. Many can do that even when they don't know how exactly to do it correctly.
This was just lazy/rushed or dare I say it, negligent.
Definitely they didn't follow the one and only rule of security: don't roll your own.
That said, the much greater problem is the idea of using a hard-coded key, instead of generating a unique key for each device/installation.