title: Encrypt some fields of an object using Realm Database
body: <p>How can we encrypt only some fields which are sensitive in Realm database? For example, I have an object called Person with fields like name, age, SSN to be stored in Realm Database. I want to encrypt sensitive field like SSN and store it in the Realm Database.</p>
  
  <p>Any ideas how can we do it?</p>
  
  <p>Also, Realm provides the use of Realm-annotations like Primary Key, Required etc which can be used for the fields. Is there a way to create a new annotation for sensitive field and then process those?</p>