comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » SHA-1, MD5, etc inquiry
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
SHA-1, MD5, etc inquiry [message #61214] Tue, 08 July 2008 19:50
cgh1 is currently offline  cgh1
Messages: 3
Registered: July 2008
Junior Member
Hello:

I am using a homegrown implementation of ISODATA to cluster data in
IDL. As the program runs, an array is created that is the same size as
the data (ie, same # of elements) to track the cluster assignment of
each point. I would like to check for the possibility of being caught
in a loop with the clustering. I strongly suggest that, in some cases,
my data might be passing back and forth between up to 20 or 25 states.
I tried the checksum32.pro routine, but that didn't do what I needed
(ie, if only 2 points are flipped, the checksum is the same value). I
don't think I have the memory to store full state information for each
step - I'm working with up to 100,000 data points and frequently will
allow the ISODATA program to loop up to 10,000 times.

I'm looking for an IDL implementation of SHA1 or MD5 - or, any
suggested equivalent. I realize that there is a hit to the runtime for
computing the checksum, but, it is a lot less memory needed to store
the hash. I'm hoping that loops are fairly common, and can save more
time from finding the loops than I spend on checking for them.

Does anyone know of an implementation in IDL of either of these
algorithms, or some other equivalent?

Thanks for any replies!

--Topher Hughes
[Message index]
 
Read Message
Previous Topic: IDL Adventure!?
Next Topic: Re: IDL string trim

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:56:48 PDT 2025

Total time taken to generate the page: 0.00432 seconds