How to encrypt and decrypt key columns of collection in mongodb

Hi Team,

For e.g we have 10 key columns in a collection (mongodb) --> is there a way to encrypt around 4 key columns and decrypt the remaining key columns ?