title: End to end encryption with Firestore
body: <p>Is there any recommended way to encrypt data in Firestore? Even though Firestore, by default, encrypts data <a href="https://cloud.google.com/firestore/docs/server-side-encryption" rel="noreferrer">before it writes to the disk</a>, admins still can read data in the console. I am looking to make the data readable only by users who are allowed decrypt it. So it will be unreadable in the console.</p>
  
  <p>One way I think it may be possible is to use cloud functions but I can't find how to modify the data before it gets saved to the disk (beforeWrite hook).</p>