Re: [OT] md5 or sha-1 on OSX

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69508
interpreted = N
texte = On OS X we found a slight bug on this an made the following note... If you type... /sbin/md5 -q -s yourstringhere ...into a terminal window you will get back... dab8f037c1216b1109f452690ce83593 So you can use a WebDNA [shell] command to run this in your webpage '[shell]/sbin/md5 -q -s yourstringhere[/shell]' Unfortunately this leaves a hidden "line feed" at the end... 'dab8f037c1216b1109f452690ce83593 ' Use middle tags to lose the end... '[middle endbefore=%0A][shell]/sbin/md5 -s yourstringhere[/shell][/ middle]' Which gives you... 'dab8f037c1216b1109f452690ce83593' So the variable 'yourstringhere' as an md5 is 'dab8f037c1216b1109f452690ce83593' Obviously you can replace 'yourstringher' with whatever you want to MD5 Cheers Paul On 27 Nov 2007, at 05:54, Donovan Brooke wrote: > Also, > > If you are on an linux machine, > you could also use [shell]openssl... etc. > > (you may have to to use the path to openssl since > I don't think it is a linux core command) > > Donovan > > > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE EUCA Design Center > > <- Web Development (specializing in eCommerce),-> > <- Desktop Publishing, Print Consulting, Labels -> > <- Glass Blowing, and Art Glass -> > > PH/FAX:> 1 (608) 770-3822 > Web:> http://www.egg.bz | http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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:

    
  1. Re: [OT] md5 or sha-1 on OSX ( Donovan Brooke 2007)
  2. Re: [OT] md5 or sha-1 on OSX ( Tom Duke 2007)
  3. Re: [OT] md5 or sha-1 on OSX ( Donovan Brooke 2007)
  4. Re: [OT] md5 or sha-1 on OSX ( Christer Olsson 2007)
  5. Re: [OT] md5 or sha-1 on OSX ( Tom Duke 2007)
  6. Re: [OT] md5 or sha-1 on OSX ( "Dan Strong" 2007)
  7. Re: [OT] md5 or sha-1 on OSX ( Paul Willis 2007)
  8. Re: [OT] md5 or sha-1 on OSX ( Tom Duke 2007)
  9. Re: [OT] md5 or sha-1 on OSX ( Paul Willis 2007)
  10. Re: [OT] md5 or sha-1 on OSX ( Donovan Brooke 2007)
  11. Re: [OT] md5 or sha-1 on OSX ( Donovan Brooke 2007)
  12. [OT] md5 or sha-1 on OSX ( Tom Duke 2007)
On OS X we found a slight bug on this an made the following note... If you type... /sbin/md5 -q -s yourstringhere ...into a terminal window you will get back... dab8f037c1216b1109f452690ce83593 So you can use a WebDNA [shell] command to run this in your webpage '[shell]/sbin/md5 -q -s yourstringhere[/shell]' Unfortunately this leaves a hidden "line feed" at the end... 'dab8f037c1216b1109f452690ce83593 ' Use middle tags to lose the end... '[middle endbefore=%0A][shell]/sbin/md5 -s yourstringhere[/shell][/ middle]' Which gives you... 'dab8f037c1216b1109f452690ce83593' So the variable 'yourstringhere' as an md5 is 'dab8f037c1216b1109f452690ce83593' Obviously you can replace 'yourstringher' with whatever you want to MD5 Cheers Paul On 27 Nov 2007, at 05:54, Donovan Brooke wrote: > Also, > > If you are on an linux machine, > you could also use [shell]openssl... etc. > > (you may have to to use the path to openssl since > I don't think it is a linux core command) > > Donovan > > > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE EUCA Design Center > > <- Web Development (specializing in eCommerce),-> > <- Desktop Publishing, Print Consulting, Labels -> > <- Glass Blowing, and Art Glass -> > > PH/FAX:> 1 (608) 770-3822 > Web:> http://www.egg.bz | http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Paul Willis

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:

transferring values (1998) Dumb Question about Docs (1997) Size limit for tmpl editor ? (1997) Re:FYI: Error message (1996) WebCatalog for guestbook ? (1997) WebCat for mass emailings (1997) How is it done? (1998) SQLResult chokes on null values? (2006) My Eyes doth deceive me (2002) Re:quit command on NT (1997) f2 download problems (1997) Unable to open the demo file (1998) Allow-Deny: Solved with [Getchars] (1998) SMSI FTP - calander system (2002) OT : Virus (2000) Databases inside [SHOWIF] (1998) emailer (1997) WebDNA hosting? ... (2004) math on date? (1997) E-Mailer (WebCatb15acgiMac) (1997)