How to get checksum of a stored document in couchbase

I am storing a document in couchbase, is there any way I can get a checksum( preferably SHA256) of a document stored inside Couchbase bucket. Application saving document inside Couchbase needs to know if the document is modified after it was stored the first time, so it can validate that with checksum value that was initially sent and current checksum value of the document.