I need to group a number of parameters into a short, non-predictable, spellable code. Ex:
- serial: WJ-JHA5JK7E9RTAS
- date: 04/02/2013
- days: 30
- valid: true
Compressed code could look like this: 3xy9b0laiph3s
My goal is to make the code as short as possible (without losing any information, of course). The algorithm must be easily implemented in other languages as well (so it can’t have crazy specific dependencies). Any thoughts?