Using DBMS_CRYPTO with CLOBs
(Doc ID 1637923.1)
Last updated on JUNE 10, 2021
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.5 to 18.104.22.168 [Release 10.2 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Generic (Platform Independent)
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 http://docs.oracle.com/cd/E11882_01/network.112/e36292/data_encryption.htm#DBSEG337).
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document