News for hackers. Stuff that matters.
Re:Thirteen Years of Bad Game Code by cjslep on Friday March 31, 2017 @11:46AM (#14004966)
I was horrified to see:

    public void encryptCreditCard(int[] cc) {
        int tmp = cc[0];
        cc[0] = cc[6];
        cc[6] = tmp;
        // and so on...
    }
Decrypt version just did the steps in reverse, of course.
Re:Thirteen Years of Bad Game Code by TeMPOraL on Friday March 31, 2017 @12:57PM (#14005689)
I once had to implement "encryption" that consisted of rot13(base64(data)). The class ended up being named SecurityTheatreUtils, to ensure no one else in our team ends up thinking it does any actual encryption...