MD5

Implementation of MD5 digester.

MD5 (Message Digest Algorithm 5) is a widely used cryptographic hash function that produces a 128-bit (16-byte) hash value. It is commonly used for checksums and cryptographic applications, although it is not recommended for security purposes due to vulnerabilities.

static
@digester
class MD5 {}

Members

Static functions

hash
auto hash(ubyte[] data)

Computes the MD5 hash digest of the given data.

Examples

import tern.digest.md5;

ubyte[] data = [1, 2, 3, 4, 5];
auto hashValue = MD5.hash(data);

Meta