Follow

for fun, while debugging this lib we pay out of the ass for at work, I decided to look at the license keys

It's converted from base 64, then you XOR it all with a secret byte, then you XOR everything with the first byte

if you know how XOR works, it means you end up doing

array[i] ^ 0xCA ^ array[0] ^ 0xCA

or, simplified

array[i] ^ array[0]

whoops

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Fuzzy Systems Masto

Instance run by a non-profit association, with a mission to encourage an open internet, welcoming to everyone.