Re: Encrypt/Decrypt
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69634
interpreted = N
texte = Your code was close, I added some to make it complete:[text]accountnumb=123456789[/text][TEXT]_CleanCC=[Grep search=[^0-9]&replace=][accountnumb][/Grep][/TEXT][text]ENC_CC=[URL][URL][Encrypt seed=1234][_CleanCC][/Encrypt][/URL][/URL][/text][text]DEC_CC=[Decrypt seed=1234][UnURL][ENC_CC][/UnURL][/Decrypt][/text][!]##### Now the result #####[/!][DEC_CC] is the decrypted value.I've had similar code in production for several years now.The double [url]ing following encrypting is absolutely necessary. I faught that battle several ears ago.MarcGary Krockover wrote:> I guess I'm an idiot then because that one isn't working for me either:> > http://www.garykrockover.com/sample/MMP/encrypt.html> > Maybe it's both my local development server and the production server - > can you put some code up D showing it working?> > G.> > > Gary gary gary,, Stuarts first reply to you is what you need to do.> > > (your unurl's are in the wrong place)> > Donovan> > -------------------------------------------------------------> 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/> -- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu--------------------------------------------------------------------------------------------------------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:
Your code was close, I added some to make it complete:[text]accountnumb=123456789[/text][text]_CleanCC=[Grep search=[^0-9]&replace=][accountnumb][/Grep][/TEXT][text]ENC_CC=[url][url][Encrypt seed=1234][_CleanCC][/Encrypt][/URL][/URL][/text][text]DEC_CC=[Decrypt seed=1234][unurl][ENC_CC][/UnURL][/Decrypt][/text][!]##### Now the result #####[/!][DEC_CC] is the decrypted value.I've had similar code in production for several years now.The double [url]ing following encrypting is absolutely necessary. I faught that battle several ears ago.MarcGary Krockover wrote:> I guess I'm an idiot then because that one isn't working for me either:> > http://www.garykrockover.com/sample/MMP/encrypt.html> > Maybe it's both my local development server and the production server - > can you put some code up D showing it working?> > G.> > > Gary gary gary,, Stuarts first reply to you is what you need to do.> > > (your unurl's are in the wrong place)> > Donovan> > -------------------------------------------------------------> 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/> -- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu--------------------------------------------------------------------------------------------------------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/
Marc Thompson
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:
supressing math results (1997)
Can you do this??? and other stuff (1997)
math on date? (1997)
can you use [middle] in a search? (2001)
WebCat2 - [SendNews] (1997)
Persistant Connections (2000)
Greeting Card System (2000)
[WebDNA] Successful, working WebDNA7/CentOS install? (2013)
includes and cart numbers (1997)
[Announce] WebCatalog 3.0 Beta Program (1998)
Needed, Freelance Web Developer (2007)
access denied problem (1997)
Crashing Server (2000)
Can't find templaes (1997)
How long until WebDNA makes the list? :( (2004)
Searching an Email database (1997)
WebCatalog2 Feature Feedback (1996)
WebCat2.0 [format thousands .0f] no go (1997)
Banners (1997)
Bad card db - *mislabled post* (1999)