C language implementation of JH cryptographic algorithm