Secure By Design
by in CodeSOD on 2021-04-29Many years ago, I worked for a company that mandated that information like user credentials should never be stored "as plain text". It had to be "encoded". One of the internally-developed HR applications interpreted this as "base64 is a kind of encoding", and stored usernames and passwords in base64 encoding.
Steven recently encountered a… similar situation. Specifically, his company upgraded their ERP system, and reports that used to output taxpayer ID numbers now outputs ~201~201~210~203~
… or similar values. He checked the data dictionary for the application, and saw that the taxpayer_id
field stored "encrypted" values. Clearly, this data isn't really encrypted.