I am setting up a voucher code system for a checkout written in C# and I want to be able to distribute unique vouchers that do the same thing, sort of like a product key.
Is there any way of generating unique (fairly short and preferably alpha-numeric) strings that will "hash" in some way to give the same result?
In other words, can I start with a defined voucher code and get multiple results for a reverse hash?
I'm sorry if I'm not explaining this very well - I can give more information if needed.
EDIT: I know that I could use a look-up table with pre-defined codes, but I was wondering if there is a way to auto-generate these codes to allow the system to scale easily.