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:
shownext & math (1997)
notification solutions (1997)
Trouble with formula.db (1997)
Logging purchases (1997)
formulas.db and prices (1999)
[WebDNA] Hmmm ... (2008)
ShowNext (1997)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
Not really WebCat- (1997)
SiteGuard Admin Feature ? (1997)
Re1000001: Setting up shop (1997)
Webstar 1.3.1 PPC (1997)
Cannot open database (1999)
emailer on Windows Beta 18 (1997)
RE: Adding headers to email (1997)
[TaxableTotal] - not working with AOL and IE (1997)
WC TableGrinder (1997)
setting cookies for another domain? (2002)
really wierd browser truncating (1997)
Re[2]: Enhancement Request for WebCatalog-NT (1996)