an encryption mining c