BinaryDigest

Description

abstract class Tinman.Core.Codec.BinaryDigest

Derived from

IBinaryDigest

Abstract base class for IBinaryDigest implementations.

Public / Constructors

MD5


public static method MD5 → ()

returns → IBinaryDigest

The MD5 IBinaryDigest object.

Creates a new instance of IBinaryDigest for MD5.

SHA1


public static method SHA1 → ()

returns → IBinaryDigest

The SHA1 IBinaryDigest object.

Creates a new instance of IBinaryDigest for SHA1.

Protected / Methods

Prepare​Output


[OwnerReturn]
protected method PrepareOutput → (1)

buffer in : ByteBuffer own

The requested buffer or null.

returns → ByteBuffer

The output buffer to use.

Prepares an output buffer.

Put​Int


protected static method PutInt → (4)

value in : int32

The value to write.

output in : int8 [ ]

The output array.

offset in : int32

The array offset.

order in : ByteOrder

The byte order.

Write a 32-bit integer value to the given array.