Re: [cart]'s ever get recycled?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31754
interpreted = N
texte = Vernon, Ken, SM support, thanks to all of you since I gather all the info I can as I learn and make decisions. Thanks :-) -JohnWebDNA Support wrote:> >My technique of choice is to create a record ID by slapping [cart] and > >[date %Y%m%d%H%M%S] together. Yes, this results in a number that looks like > >the National Debt, but it exponentially increases the number of possible > >unique numbers. > > This is abit redundant, since [cart] is already based on the date and > time, plus an ever-increasing number tacked onto the end of that. I > think [cart] alone is sufficient. It is not based on a statistical > probability of uniqueness; it is truly unique per machine.Kenneth Grome wrote:> >Also, since WebCat treats everything as text anyway, you could even > >use the encrypt context to hash the [cart] value. As long as you provide a > >seed, the hash encrypt generates will be unique even if you crypt the same > >string multiple times. > > This is wrong. Webcat does NOT generate a unique value every time > when you use a seed value to encrypt the same original string. It > does this sometimes, but not all the time, I reported this behavior > personally after discovering it during testing. It was discussed > many months ago as a potential security issue, and it was one of the > items supposedly on the list for improvement in 4.0 ... ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [cart]'s ever get recycled? (John Butler 2000)
  2. Re: [cart]'s ever get recycled? (Kenneth Grome 2000)
  3. Re: [cart]'s ever get recycled? (WebDNA Support 2000)
  4. Re: [cart]'s ever get recycled? (Andrew Vernon 2000)
  5. Re: [cart]'s ever get recycled? (Kenneth Grome 2000)
  6. Re: [cart]'s ever get recycled? (John Butler 2000)
  7. Re: [cart]'s ever get recycled? (Stuart Tremain 2000)
  8. Re: [cart]'s ever get recycled? (Kenneth Grome 2000)
  9. Re: [cart]'s ever get recycled? (Stuart Tremain 2000)
  10. Re: [cart]'s ever get recycled? (Kenneth Grome 2000)
  11. Re: [cart]'s ever get recycled? (Stuart Tremain 2000)
  12. Re: [cart]'s ever get recycled? (Kenneth Grome 2000)
  13. Re: [cart]'s ever get recycled? (Stuart Tremain 2000)
  14. [cart]'s ever get recycled? (John Butler 2000)
Vernon, Ken, SM support, thanks to all of you since I gather all the info I can as I learn and make decisions. Thanks :-) -JohnWebDNA Support wrote:> >My technique of choice is to create a record ID by slapping [cart] and > >[date %Y%m%d%H%M%S] together. Yes, this results in a number that looks like > >the National Debt, but it exponentially increases the number of possible > >unique numbers. > > This is abit redundant, since [cart] is already based on the date and > time, plus an ever-increasing number tacked onto the end of that. I > think [cart] alone is sufficient. It is not based on a statistical > probability of uniqueness; it is truly unique per machine.Kenneth Grome wrote:> >Also, since WebCat treats everything as text anyway, you could even > >use the encrypt context to hash the [cart] value. As long as you provide a > >seed, the hash encrypt generates will be unique even if you crypt the same > >string multiple times. > > This is wrong. Webcat does NOT generate a unique value every time > when you use a seed value to encrypt the same original string. It > does this sometimes, but not all the time, I reported this behavior > personally after discovering it during testing. It was discussed > many months ago as a potential security issue, and it was one of the > items supposedly on the list for improvement in 4.0 ... ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Butler

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Interfacing WebMerchant to www.fedex.com (1997) A dynamic database. (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) WebCatb15 Mac CGI -- [purchase] (1997) New WebDNA Solutions ... (1997) bug in [SendMail] (1997) # fields limited? (1997) Converting characters to numbers ... (1997) Bug or syntax error on my part? (1997) re: Large databases in WebCat (1997) Multiple Pulldowns (1997) generating unique IDs (2000) Credit Card not accepted (1998) [shownext max=?] armed (1997) Can't use old cart file (was One more try) (1997) Donovans Theorem (2003) Webcatalog on MacOs (2000) Search in 2 or more catalogs (1997) setting taxable to true (1997) 2 databases (1997)