This repository contains my implementation of the MD2 hash function in C.
In the file 'Sbox_generate.c', a permutation of a 256-length array (S-box) is generated based on the digits of pi.
In the file 'MD2_algorithm_string.c', an MD2 hash is generated based on user input string.