Fields within a document can be securely encrypted by the SDK, to support FIPS-140-2 compliance.
Field Level Encryption is normally carried out at a higher level than libcouchbase (LCB). It is available in all of the LCB 'wrapper' SDKs: Node.js, PHP, Python. It is not available directly in LCB.