Before HashBinary gets widespread use, please consider changing the
existing Hash function so it "just works".
i.e.
   Hash(myString)             should work as it does now; where
myString implies toString() except for a file handle or ByteArray.
   Hash(myByteArray)          should recognize that it is binary data.
   Hash( FileOpen(myFile) )   should recognize it is a file, and
process it in chunks for efficiency.

IMHO EncryptBinary and DecryptBinary were also mistakes - there was no
reason that Encrypt/Decrypt couldn't recognize and handle binary data
without requiring new function names.

-tom-

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to