Adding encrypt and sort utility