On Sep 28, 2006, at 23:31 UTC, Phil M wrote: > Is the implementation of Variant.Hash for Strings the same across all > computers and platforms? > > Instead of sending an MD5 string, can I use Variant.Hash to compare > two strings across a network? Specifically, I would like to bind to > a "random" network port based on a string constant built into the > application.
Variant.Hash isn't guaranteed to work that way, even though it probably happens to do so (except perhaps for UTF-16 strings, which would have their bytes swapped on some platforms). I'd stick with MD5 if I were you. Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
