ImageHash

MLModule
genre Inspectors
status work-in-progress
author Gereon Frey
package MeVisLab/Standard
dll MLCrypto
definition MLCrypto.def
keywords hash, sha, md5

Purpose

The module ImageHash computes the hash value of an input image.

Usage

The input source must be connected to a proper image seource. The selected hashing and encoding algorithms are used to compute the hash.

Details

The hashes provided by this module are taken from a cryptography library.

The main reason for using those instead of the Checksum module is to have less probability for hash collisions.

Windows

Default Panel

../../../Modules/ML/MLCrypto/mhelp/Images/Screenshots/ImageHash._default.png

Input Fields

input0

name: input0, type: Image

Image for which a hashkey should be computed.

Parameter Fields

Visible Fields

Hash

name: hash, type: String

Shows the hash resulting from the input image.

Hash valid?

name: hashValid, type: Bool, default: FALSE

Shows if the hash is valid.

Hash Function

name: hashSelector, type: Enum, default: SHA256

Defines the hash function.

Values:

Title Name
Sha1 SHA1
Sha224 SHA224
Sha256 SHA256
Sha384 SHA384
Sha512 SHA512
Md5 MD5

Hash Encoder

name: encoderSelector, type: Enum, default: Base64

Defines the encoder used for the resulting hash.

Values:

Title Name
Base64 Base64
Hex Hex