rakuten / as3crypto

Automatically exported from code.google.com/p/as3crypto
0 stars 1 forks source link

IHash#hash should take an IDataInput rather than ByteArray #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download a file with URLStream
2. Verify its sha1 checksum by calling...?
3. Bang head against wall

What is the expected output? What do you see instead?

I should be able to pass any IDataInput into IHash#hash.  Right now it only 
takes a ByteArray, which severely limits what can be hashed.

What version of the product are you using? On what operating system?

v1.3 on any OS.

Please provide any additional information below.

Original issue reported on code.google.com by paleozogt on 11 Nov 2010 at 4:57