(Doc ID 1637923.1)

Last updated on JUNE 23, 2017

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2 to 12.1]
Information in this document applies to any platform.


When trying to use DBMS_CRYPTO in order to encrypt Character LOBs (CLOBs), there are some extra steps required since the encrypted data is usually stored as a Binary LOB (BLOB). There are functions and procedures available within DBMS_CRYPTO in order to do this, but although the documentation gives examples for standard BLOBs, there is little in the way of examples for CLOBs. This document gives a coding example, based on the example in the Database Security Guide, in the section Developing Applications Using the Data Encryption API (for example, in 11.2, see


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms