Voucher Codes [LP8.6]

Voucher Codes [LP8.6]

Hi List

We are looking at developing a project to issue and accept gift card vouchers on-line.

We have done this before - but the codes we generated, were quite short. It was based on a prefix followed by some random numbers then a sequence number followed by mod11 check digit. With this new client, it is likely we will be generating a much higher number of codes, and I am concerned about someone guessing a code.

I was wondering if anyone had come across a reliable technique for generating long alphanumeric codes - It would be nice if I could generate Microsoft style serial numbers, something of the form:

Re: Voucher Codes [LP8.6]

We are looking at developing a project to issue and accept gift card vouchers on-line.

We have done this before - but the codes we generated, were quite short. It was based on a prefix followed by some random numbers then a sequence number followed by mod11 check digit. With this new client, it is likely we will be generating a much higher number of codes, and I am concerned about someone guessing a code.

I was wondering if anyone had come across a reliable technique for generating long alphanumeric codes - It would be nice if I could generate Microsoft style serial numbers, something of the form:

Re: Voucher Codes [LP8.6]

That's a GUID, and Lasso's lasso_uniqueID tag switched to using them at some point, maybe Lasso 9?

- Bil

> On Jun 30, 2016, at 2:39 AM, Jon Harris <[hidden email]> wrote:
>
> Hi List
>
> We are looking at developing a project to issue and accept gift card vouchers on-line.
>
> We have done this before - but the codes we generated, were quite short. It was based on a prefix followed by some random numbers then a sequence number followed by mod11 check digit. With this new client, it is likely we will be generating a much higher number of codes, and I am concerned about someone guessing a code.
>
> I was wondering if anyone had come across a reliable technique for generating long alphanumeric codes - It would be nice if I could generate Microsoft style serial numbers, something of the form:
>
> AB2345-123AB-123AB-12AB5-1AB45
>
> I will be storing the codes in a table,
>
> Any pointers/techniques appreciated.
>
> Jon Harris
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
> the mailing list Lasso [hidden email]> Official list archives available at http://www.lassotalk.com> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to <[hidden email]>

Re: Voucher Codes [LP8.6]

He did specify 8.6 in the subject line. But, Mysql can also create GUIDs. You could let Mysql hand you the id when you create the record that holds the voucher info.

HDB
Jolle

> 30 juni 2016 kl. 14:40 skrev Bil Corry <[hidden email]>:
>
> That's a GUID, and Lasso's lasso_uniqueID tag switched to using them at some point, maybe Lasso 9?
>
> - Bil
>
>> On Jun 30, 2016, at 2:39 AM, Jon Harris <[hidden email]> wrote:
>>
>> Hi List
>>
>> We are looking at developing a project to issue and accept gift card vouchers on-line.
>>
>> We have done this before - but the codes we generated, were quite short. It was based on a prefix followed by some random numbers then a sequence number followed by mod11 check digit. With this new client, it is likely we will be generating a much higher number of codes, and I am concerned about someone guessing a code.
>>
>> I was wondering if anyone had come across a reliable technique for generating long alphanumeric codes - It would be nice if I could generate Microsoft style serial numbers, something of the form:
>>
>> AB2345-123AB-123AB-12AB5-1AB45
>>
>> I will be storing the codes in a table,
>>
>> Any pointers/techniques appreciated.
>>
>> Jon Harris
>>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso [hidden email]>> Official list archives available at http://www.lassotalk.com>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to <[hidden email]>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
> the mailing list Lasso [hidden email]> Official list archives available at http://www.lassotalk.com> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to <[hidden email]>

He did specify 8.6 in the subject line. But, Mysql can also create GUIDs. You could let Mysql hand you the id when you create the record that holds the voucher info.

HDB
Jolle

> 30 juni 2016 kl. 14:40 skrev Bil Corry <[hidden email]>:
>
> That's a GUID, and Lasso's lasso_uniqueID tag switched to using them at some point, maybe Lasso 9?
>
> - Bil
>
>> On Jun 30, 2016, at 2:39 AM, Jon Harris <[hidden email]> wrote:
>>
>> Hi List
>>
>> We are looking at developing a project to issue and accept gift card vouchers on-line.
>>
>> We have done this before - but the codes we generated, were quite short. It was based on a prefix followed by some random numbers then a sequence number followed by mod11 check digit. With this new client, it is likely we will be generating a much higher number of codes, and I am concerned about someone guessing a code.
>>
>> I was wondering if anyone had come across a reliable technique for generating long alphanumeric codes - It would be nice if I could generate Microsoft style serial numbers, something of the form:
>>
>> AB2345-123AB-123AB-12AB5-1AB45
>>
>> I will be storing the codes in a table,
>>
>> Any pointers/techniques appreciated.
>>
>> Jon Harris
>>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to the mailing
>> list Lasso [hidden email] Official list archives available
>> at http://www.lassotalk.com To unsubscribe, E-mail to:
>> <[hidden email]>
>> Send administrative queries to <[hidden email]>
>
> #############################################################
>
> This message is sent to you because you are subscribed to the mailing
> list Lasso [hidden email] Official list archives available
> at http://www.lassotalk.com To unsubscribe, E-mail to:
> <[hidden email]>
> Send administrative queries to <[hidden email]>