Crate bsa3_hash[][src]

Expand description

The hash function used in BSA files for The Elder Scrolls III: Morrowind.

Example

assert_eq!(
    bsa3_hash::calculate(r"meshes\m\probe_journeyman_01.nif".as_bytes()),
    (0x0002_0336, 0xBB50_0695)
);

Functions

Computes the hash of a given byte sequence, expressed as a tuple of two 32-bit integers.