Re: encrypt/decrypt
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37206
interpreted = N
texte = The problem is that you are not encrypting the entire contents of the file you are writing out, so it does not decrypt properly.Give your code of:[writefile meFile.txt][encrypt seed=someseed]something somethingsomething...there is a carriage return (or LF or CR/LF depending on your host system) written to meFile.txt prior to the [encrypt] tag, and this carriage return is not being encrypted.The same thing happens after your closing [/encrypt] and before your [/writefile]The solution is to code it like this:[writefile meFile.txt][encrypt seed=someseed]something somethingsomethingsomethingsomethingsomethingsomething[/encrypt][/writefile]- brianAt 11:09 PM 7/13/2001, Kalin Mintchev wrote:>hi>>i have a html file that called by the browser does this:>>[writefile meFile.txt]>[encrypt seed=someseed]something somethingsomething>>something>somethingsomething>>something>[/encrypt]>[/writefile]>>>then i have another page that does this:>>[decrypt seed=someseed][include meFile.txt][/decrypt]>>and i see the encrypted txt file. ny ideas why the txt file is not>decrypting?>>thanks-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =>-------------------------------------------------------------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:
The problem is that you are not encrypting the entire contents of the file you are writing out, so it does not decrypt properly.Give your code of:[writefile meFile.txt][encrypt seed=someseed]something somethingsomething...there is a carriage return (or LF or CR/LF depending on your host system) written to meFile.txt prior to the [encrypt] tag, and this carriage return is not being encrypted.The same thing happens after your closing [/encrypt] and before your [/writefile]The solution is to code it like this:[writefile meFile.txt][encrypt seed=someseed]something somethingsomethingsomethingsomethingsomethingsomething[/encrypt][/writefile]- brianAt 11:09 PM 7/13/2001, Kalin Mintchev wrote:>hi>>i have a html file that called by the browser does this:>>[writefile meFile.txt]>[encrypt seed=someseed]something somethingsomething>>something>somethingsomething>>something>[/encrypt]>[/writefile]>>>then i have another page that does this:>>[decrypt seed=someseed][include meFile.txt][/decrypt]>>and i see the encrypted txt file. ny ideas why the txt file is not>decrypting?>>thanks-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =>-------------------------------------------------------------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/
Brian Fries
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:
Re:Virtual hosting and webcatNT (1997)
MySQL question (2005)
WebCat2 - [format thousands] (1997)
OT - how many HTML forms is too many? (2000)
Boolean showifs? (2000)
Calendar Snippet Problems (1998)
Setting up shop (1997)
Help with (2003)
[ShowNext] (1997)
[sendmail] questions... (1997)
random random links (1999)
WebCatalog2 Feature Feedback (1996)
OT: need perl help, and question about switches (2007)
Carts? (1998)
[WebDNA] How to use [function] (2012)
URGENT: WebCatalog Stalls (1998)
multiple credit card merchant accounts/processors (1997)
New public beta available (1997)
So, does anyone have developer editon running on Win XP (2006)
TCPConnect / Current Temperature (2004)