Posts Tagged ‘MD5Stream’

as3corelib Tutorial:How to Use MD5Stream Class in Flex

golf-128x128 This class performs MD5 hash of an input stream in chunks. It is based on com.adobe.crypto.MD5 and can process data in chunks. Both block creation and hash computation are done together for whatever input is available so that the memory overhead at a time is always fixed. Memory usage is governed by two parameters: one is the amount of data passed in to update() and the other is memoryBlockSize. The latter comes into play only when the memory window exceeds the pre allocated memory window of flash player. Usage: create an instance, call update(data) repeatedly for all chunks and finally complete() which will return the md5 hash..

Search-256x256 Demo | DownloadDownload Full Project