MochimoHasher class

Dart implementation of MochimoHasher Uses the pointycastle package for hash implementations

Constructors

MochimoHasher.new({String algorithm = 'sha256'})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

digest() ByteArray
Returns the final hash value
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(ByteArray buffer, [int offset = 0, int? length]) → void
Updates the hash with the given data

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

hash(ByteArray data, [int? offset, int? length]) ByteArray
Performs hash operation
override
hashWith(String algorithm, ByteArray data) ByteArray
Performs hash operation with specified algorithm