MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: looking for implementation of hash function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17582] Re: [mg17235] looking for implementation of hash function
  • From: Daniel Reeves <dreeves at eecs.umich.edu>
  • Date: Mon, 17 May 1999 02:14:30 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

I'm sure a cryptographic hash function could be written very elegantly in
Mathematica but here's a quick solution if you're on a Unix machine:

hash = ToString[RunThrough["md5sum", str]];

--    --    --    --    --    --    --    --    --    --    --    -- 
Daniel Reeves               http://ai.eecs.umich.edu/people/dreeves/

Richard's Laws of Computer Security:
  1. Don't buy a computer.
  2. If you do buy a computer, don't turn it on.

On Mon, 26 Apr 1999, jb wrote:

> hello all,
> 
> does anybody know where i can find an implementation of a hash algorithm ?
> i need to "digest" or hash a long string of characters into a shorter
> string.
> 
> thanks in advance.  jb.
> 
> 
> 





  • Prev by Date: Re: Not a floating-point number message
  • Next by Date: Draw straight line, but display zigzag line!
  • Previous by thread: Re: Draw straight line, but display zigzag line!
  • Next by thread: Re: looking for implementation of hash function