Re: encrypt but with normal characters for result?
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62339
interpreted = N
texte = Hello,WebDna @ Inkblot Media wrote:> Couldn't you UNURL the value when looking for the code?I can, although the goal though is to use the encrypted value to create either a file or folder that needs to be accessible via a webpage.Maybe some sort of internal letter substitution system will work. Only problem for me is this entire portion of code must be done this weekend, and there are 2 other modules that rely on this being completed first (they have to know where the images are).Dalebetter example:---[!][/!]
[text show=t]hash=5678[/text]
[text show=t]seed=1234[/text]
base 64 - seed value is ignored
[text show=t]1=[Encrypt seed=[seed]&method=base64]first_folder[/Encrypt][/text]
[text show=t]2=[Encrypt seed=[seed]&method=base64]second_folder[/Encrypt][/text]
[text show=t]3=[Encrypt seed=[seed]&method=base64]third_folder[/Encrypt][/text]
[text show=t]4=[Encrypt seed=[seed]&method=base64]fourth_folder[/Encrypt][/text]
[Decrypt seed=[seed]&method=base64][1][/Decrypt]
[Decrypt seed=[seed]&method=base64][2][/Decrypt]
[Decrypt seed=[seed]&method=base64][3][/Decrypt]
[Decrypt seed=[seed]&method=base64][4][/Decrypt]
Normal encryption - creates characters that won't work for a file/folder
[text show=t]1=[Encrypt seed=[seed]]first_folder[/Encrypt][/text]
[text show=t]2=[Encrypt seed=[seed]]second_folder[/Encrypt][/text]
[text show=t]3=[Encrypt seed=[seed]]third_folder[/Encrypt][/text]
[text show=t]4=[Encrypt seed=[seed]]fourth_folder[/Encrypt][/text]
[Decrypt seed=[seed]][1][/Decrypt]
[Decrypt seed=[seed]][2][/Decrypt]
[Decrypt seed=[seed]][3][/Decrypt]
[Decrypt seed=[seed]][4][/Decrypt]
Normal encryption - with URL/unurl - creates valid characters for file/folder, but can't be displayed in browser
[text show=t]1=[url][Encrypt seed=[seed]]first_folder[/Encrypt][/url][/text]
[text show=t]2=[url][Encrypt seed=[seed]]second_folder[/Encrypt][/url][/text]
[text show=t]3=[url][Encrypt seed=[seed]]third_folder[/Encrypt][/url][/text]
[text show=t]4=[url][Encrypt seed=[seed]]fourth_folder[/Encrypt][/url][/text]
[Decrypt seed=[seed]][unurl][1][/unurl][/Decrypt]
[Decrypt seed=[seed]][unurl][2][/unurl][/Decrypt]
[Decrypt seed=[seed]][unurl][3][/unurl][/Decrypt]
[Decrypt seed=[seed]][unurl][4][/unurl][/Decrypt]
APOP encryption - can't seem to decrypt, and doesn't use seed value
[text show=t]1=[Encrypt seed=[seed]&method=APOP]first_folder[/Encrypt][/text]
[text show=t]2=[Encrypt seed=[seed]&method=APOP]second_folder[/Encrypt][/text]
[text show=t]3=[Encrypt seed=[seed]&method=APOP]third_folder[/Encrypt][/text]
[text show=t]4=[Encrypt seed=[seed]&method=APOP]fourth_folder[/Encrypt][/text]
[Decrypt seed=[seed]&method=APOP][1][/Decrypt]
[Decrypt seed=[seed]&method=APOP][2][/Decrypt]
[Decrypt seed=[seed]&method=APOP][3][/Decrypt]
[Decrypt seed=[seed]&method=APOP][4][/Decrypt]
----http://bear.net/members/encrypt.html----> ----- Original Message ----- From: "Dale's Lists"
> To: "WebDNA Talk" > Sent: Friday, June 24, 2005 2:30 PM> Subject: Re: encrypt but with normal characters for result?> > >> Hmmm....>>>> ----- Original Message Follows ----->> From: Gary Krockover >> To: "WebDNA Talk" >> Subject: Re: encrypt but with normal characters for result?>> Date: Fri, 24 Jun 2005 15:26:45 -0500>>>>> Would a set of custom [convertchars] databases work better>>> for this perhaps?>>>>>>>> That might work. Maybe do a letter -> number translation>> based on a certain seed value.>>>> Thanks Gary, this gives me another way to look at it.>>>> Dale>>>>> At 01:46 PM 6/24/2005, you wrote:>>> >WebDNA 6.0a>>> >Redhat Enterprise>>> >>>> >Hello,>>> >>>> >Trying to do something with encrypt, but need 'normal'>>> >charactors for the result as the result will be used for>>> a >filename that need sto be accessable via a webpage.>>> >>>> >When using, for example:>>> > [Encrypt seed=abcdefg]Some Text that is>>> private[/Encrypt]-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hello,WebDna @ Inkblot Media wrote:> Couldn't you UNURL the value when looking for the code?I can, although the goal though is to use the encrypted value to create either a file or folder that needs to be accessible via a webpage.Maybe some sort of internal letter substitution system will work. Only problem for me is this entire portion of code must be done this weekend, and there are 2 other modules that rely on this being completed first (they have to know where the images are).Dalebetter example:---[!][/!][text show=t]hash=5678[/text]
[text show=t]seed=1234[/text]
base 64 - seed value is ignored
[text show=t]1=[Encrypt seed=[seed]&method=base64]first_folder[/Encrypt][/text]
[text show=t]2=[Encrypt seed=[seed]&method=base64]second_folder[/Encrypt][/text]
[text show=t]3=[Encrypt seed=[seed]&method=base64]third_folder[/Encrypt][/text]
[text show=t]4=[Encrypt seed=[seed]&method=base64]fourth_folder[/Encrypt][/text]
[Decrypt seed=[seed]&method=base64][1][/Decrypt]
[Decrypt seed=[seed]&method=base64][2][/Decrypt]
[Decrypt seed=[seed]&method=base64][3][/Decrypt]
[Decrypt seed=[seed]&method=base64][4][/Decrypt]
Normal encryption - creates characters that won't work for a file/folder
[text show=t]1=[Encrypt seed=[seed]]first_folder[/Encrypt][/text]
[text show=t]2=[Encrypt seed=[seed]]second_folder[/Encrypt][/text]
[text show=t]3=[Encrypt seed=[seed]]third_folder[/Encrypt][/text]
[text show=t]4=[Encrypt seed=[seed]]fourth_folder[/Encrypt][/text]
[Decrypt seed=[seed]][1][/Decrypt]
[Decrypt seed=[seed]][2][/Decrypt]
[Decrypt seed=[seed]][3][/Decrypt]
[Decrypt seed=[seed]][4][/Decrypt]
Normal encryption - with URL/unurl - creates valid characters for file/folder, but can't be displayed in browser
[text show=t]1=[url][Encrypt seed=[seed]]first_folder[/Encrypt][/url][/text]
[text show=t]2=[url][Encrypt seed=[seed]]second_folder[/Encrypt][/url][/text]
[text show=t]3=[url][Encrypt seed=[seed]]third_folder[/Encrypt][/url][/text]
[text show=t]4=[url][Encrypt seed=[seed]]fourth_folder[/Encrypt][/url][/text]
[Decrypt seed=[seed]][unurl][1][/unurl][/Decrypt]
[Decrypt seed=[seed]][unurl][2][/unurl][/Decrypt]
[Decrypt seed=[seed]][unurl][3][/unurl][/Decrypt]
[Decrypt seed=[seed]][unurl][4][/unurl][/Decrypt]
APOP encryption - can't seem to decrypt, and doesn't use seed value
[text show=t]1=[Encrypt seed=[seed]&method=APOP]first_folder[/Encrypt][/text]
[text show=t]2=[Encrypt seed=[seed]&method=APOP]second_folder[/Encrypt][/text]
[text show=t]3=[Encrypt seed=[seed]&method=APOP]third_folder[/Encrypt][/text]
[text show=t]4=[Encrypt seed=[seed]&method=APOP]fourth_folder[/Encrypt][/text]
[Decrypt seed=[seed]&method=APOP][1][/Decrypt]
[Decrypt seed=[seed]&method=APOP][2][/Decrypt]
[Decrypt seed=[seed]&method=APOP][3][/Decrypt]
[Decrypt seed=[seed]&method=APOP][4][/Decrypt]
----http://bear.net/members/encrypt.html----> ----- Original Message ----- From: "Dale's Lists" > To: "WebDNA Talk" > Sent: Friday, June 24, 2005 2:30 PM> Subject: Re: encrypt but with normal characters for result?> > >> Hmmm....>>>> ----- Original Message Follows ----->> From: Gary Krockover >> To: "WebDNA Talk" >> Subject: Re: encrypt but with normal characters for result?>> Date: Fri, 24 Jun 2005 15:26:45 -0500>>>>> Would a set of custom [convertchars] databases work better>>> for this perhaps?>>>>>>>> That might work. Maybe do a letter -> number translation>> based on a certain seed value.>>>> Thanks Gary, this gives me another way to look at it.>>>> Dale>>>>> At 01:46 PM 6/24/2005, you wrote:>>> >WebDNA 6.0a>>> >Redhat Enterprise>>> >>>> >Hello,>>> >>>> >Trying to do something with encrypt, but need 'normal'>>> >charactors for the result as the result will be used for>>> a >filename that need sto be accessable via a webpage.>>> >>>> >When using, for example:>>> > [Encrypt seed=abcdefg]Some Text that is>>> private[/Encrypt]-------------------------------------------------------------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://webdna.smithmicro.com/
eLists
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:
Error:Too many nested [xxx] contexts (1997)
PC site chck pls (2003)
A little syntax help (1997)
calculating tax rates, mail order solutions and version 2 (1997)
access denied problem (1997)
New Site WebCat (1997)
multi-paragraph fields (1997)
problems with 2 tags shakur (1997)
Using [showif] within [lineitems] (2000)
Memorial Day Weekend (2003)
New WebDNA Solutions ... (1997)
cc auth with [purchase] (1998)
Convert words (2002)
Linebreak as a delimiter in listwords? (2003)
Can you do this??? and other stuff (1997)
Sorting Date (2004)
Quit revisited (1997)
Add to Cart & List of Products (1997)
[WriteFile] problems (1997)
Credit card types (1997)