[Mono-list] blowfish library

matt matt@infusiontek.com
Thu, 11 Jul 2002 22:06:26 -0500 (CDT)


hey in trying to compile Markus Hahn's implementation of blowfish in c#
http://members.tripod.com/markus_hahn/software.html i get a funky error
when i run one of the test exe's that come with the library.

Unhandled Exception: System.ArgumentOutOfRangeException: Index and count
must refer to a location within the buffer.
Parameter name: bytes
   at System.Text.UTF8Encoding.GetCharCount(Byte[] bytes, Int32 index,
Int32 count, UTF8Decoder decoder)
   at System.Text.UTF8Encoding.GetCharCount(Byte[] bytes, Int32 index,
Int32 count)
   at System.Text.Encoding.GetChars(Byte[] bytes, Int32 index, Int32 count)
   at System.Text.Encoding.GetString(Byte[] bytes, Int32 index, Int32
count)
   at Blowfish_NET.BlowfishSimple.Decrypt(String sCipherText)
   at BlowfishTest.TestBlowfishSimple()
   at BlowfishTest.Main()

Is there anyone out there tell me if this is an error in mcs or the
blowfish library test exe.  Any help would be greatly appreciated.

Thanks And Great Job So Far!

-matt