I would like to know if there is a way to make the voucher generator to only numbers and to choose the lenght of the code.
and I would like to use not only minutes but hours and days, and months . how can I unleash these options?
I would like to know if there is a way to make the voucher generator to only numbers
Vouchers - Character set
I would like to use not only minutes but hours and days
1 hours = 60 minutes
1 day = 24 hours = 24x60 minutes
The more characters in your character set the more bits are represented by each character. If you reduce the character set to just 0-9 and leave everything the same, your voucher codes will be a lot longer since each character only represents just over 3 bits.
These are the codes generated with a 31-bit RSA key and just characters 0-9:
Same settings, same 31-bit key but with the following character set: 23456789abcdefghijkmnpqrstuvwxyz
Now we'll include capitals: 23456789abcdefghijkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ
I, personally, don't think capitals are worth going from a maximum of 7 characters to a maximum of 6.