Custom encryption for Sorcery