Re: encrypt/decrypt - are docs correct??

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41954
interpreted = N
texte = you need to do the following:[url][url][encrypt seed=xxx]data to encrypt[/encrypt][/url][/url] [unurl][decrypt seed=xxx][the_data_field_name][/decrypt][/unurl]this should give you the correct data 'out', If you use no seed you will not be able to decrypt the data. Alain> Having a tough time getting [encrypt] and [decrypt] > to work with passwords written into a database. > > > This is right from the online-docs supplied with webdna . . . . > > ========================= > Example (normally you would put the following text into a .tpl file on > your server and use a web browser to link to it): > > [Encrypt seed=abcdefg]Some Text that is private[/Encrypt]
> [Decrypt seed=abcdefg][Encrypt seed=abcdefg]Some Text that is > private[/Encrypt][/Decrypt] > > In the example above, the first line of displayed text will be > unintelligible, as seen below. The second line decrypts the text and > displays it as it was before: > ========================= > > > Is that right? > I have to use > [Decrypt seed=abcdefg][Encrypt seed=abcdefg] > together??? Doesn't seem right . . . . > > And do I always have to use a seed value or can i just use > [encrypt]text[/encrypt] > without a seed value when writing into a database > and [decrypt]text[/decrypt] when getting it back . . . > > Docs got me confused there too . . . . . > > > lester > > > ------------------------------------------------------------- > 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/ -- Alain Russell Blackpepper Interactive alain.russell@blackpepper.co.nz ph. 09 520 6280------------------------------------------------------------- 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: encrypt/decrypt - are docs correct?? (Alain Russell 2002)
  2. Re: encrypt/decrypt - are docs correct?? (Lester Emo 2002)
  3. Re: encrypt/decrypt - are docs correct?? (Lester Emo 2002)
  4. Re: encrypt/decrypt - are docs correct?? (Alain Russell 2002)
  5. Re: encrypt/decrypt - are docs correct?? (Lester Emo 2002)
  6. Re: encrypt/decrypt - are docs correct?? (Alain Russell 2002)
  7. encrypt/decrypt - are docs correct?? (Lester Emo 2002)
you need to do the following:[url][url][encrypt seed=xxx]data to encrypt[/encrypt][/url][/url] [unurl][decrypt seed=xxx][the_data_field_name][/decrypt][/unurl]this should give you the correct data 'out', If you use no seed you will not be able to decrypt the data. Alain> Having a tough time getting [encrypt] and [decrypt] > to work with passwords written into a database. > > > This is right from the online-docs supplied with webdna . . . . > > ========================= > Example (normally you would put the following text into a .tpl file on > your server and use a web browser to link to it): > > [Encrypt seed=abcdefg]Some Text that is private[/Encrypt]
> [Decrypt seed=abcdefg][Encrypt seed=abcdefg]Some Text that is > private[/Encrypt][/Decrypt] > > In the example above, the first line of displayed text will be > unintelligible, as seen below. The second line decrypts the text and > displays it as it was before: > ========================= > > > Is that right? > I have to use > [Decrypt seed=abcdefg][Encrypt seed=abcdefg] > together??? Doesn't seem right . . . . > > And do I always have to use a seed value or can i just use > [encrypt]text[/encrypt] > without a seed value when writing into a database > and [decrypt]text[/decrypt] when getting it back . . . > > Docs got me confused there too . . . . . > > > lester > > > ------------------------------------------------------------- > 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/ -- Alain Russell Blackpepper Interactive alain.russell@blackpepper.co.nz ph. 09 520 6280------------------------------------------------------------- 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/ Alain Russell

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:

Link with [cart] in db field (1999) How did *you* learn Web Catalog? (2000) Please please help (2001) Logging purchases (1997) Error Log.db --however (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Date format problems (1997) Unexpected error (1997) Just a thought - WebCat classes (1998) Error Lob.db records error message not name (1997) XML values to database records (grep?) (2000) Allow/Deny with Webcat? (1998) Initiating NewCart (1997) WCS Newbie question (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) suggestion (1997) ANet? (2002) access denied problem (1997) Nav. 4 probs with cart - Serious problem (1997)