| Package | com.adobe.crypto |
| Class | public class MD5Stream |
| Property | Defined by | ||
|---|---|---|---|
| memoryBlockSize : int = 16384
Change this value from the default (16384) in the range of
MBs to actually affect GC as GC allocates in pools of
memory
| MD5Stream | ||
| Method | Defined by | ||
|---|---|---|---|
| MD5Stream | |||
|
complete(input:ByteArray = null):String
Pass in chunks of the input data with update(), call
complete() with an optional chunk which will return the
final hash.
| MD5Stream | ||
|
resetFields():void
Re-initialize this instance for use to perform hashing on
another input stream.
| MD5Stream | ||
|
update(input:ByteArray):void
Pass in chunks of the input data with update(), call
complete() with an optional chunk which will return the
final hash.
| MD5Stream | ||
| memoryBlockSize | property |
public var memoryBlockSize:int = 16384Change this value from the default (16384) in the range of MBs to actually affect GC as GC allocates in pools of memory
| MD5Stream | () | constructor |
public function MD5Stream()
| complete | () | method |
public function complete(input:ByteArray = null):StringPass in chunks of the input data with update(), call complete() with an optional chunk which will return the final hash. Equivalent to the way java.security.MessageDigest works.
Parametersinput:ByteArray (default = null) — The optional bytearray chunk which is the final part of the input
|
String — A string containing the hash value
|
| resetFields | () | method |
public function resetFields():voidRe-initialize this instance for use to perform hashing on another input stream. This is called automatically by complete().
| update | () | method |
public function update(input:ByteArray):voidPass in chunks of the input data with update(), call complete() with an optional chunk which will return the final hash. Equivalent to the way java.security.MessageDigest works.
Parametersinput:ByteArray — The bytearray chunk to perform the hash on
|