Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 2.06 KB

README.md

File metadata and controls

28 lines (21 loc) · 2.06 KB

hash

Description

A module containing several (Currently two) hashing functions for the Monkey programming language. Most notably: A multi-input MD5 implementation, and a quick rewrite of Java's 'hashCode' command.

Installation

This module is officially distributed with the Regal Modules project. To install this module, please follow the installation guide provided with that repository.

Details

The MD5 implementation is still rather slow with large files, but it's far faster than the alternatives, currently. One of the benefits of my MD5 implementation is the smaller memory footprint. Add together the memory optimizations, the variety of container-backends, input-types, and a good compiler, and this should work well for realistic use. That being said, there are other implementations. So, if this doesn't fit your project, I'd recommend looking at the "Special Thanks" and "Other References" sections.

Loosely based on the MD5 implementations provided by the Monkey community.

Special Thanks:

Other References: