warvair/as3crypto

IHash#hash should take an IDataInput rather than ByteArray

Opened this issue · 0 comments

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