Encryption almost finished for MHKC