- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to encrypt a CLOB datatype in JDBC?
Creating an Encrypted LOB(CLOB or, BLOB)
Oracle database from 11g onwards provides SecureFiles feature to encrypt the Large object files (LOBs). You can create a secure file using the SECUREFILE keyword as −
CREATE TABLE table_name ( myClob CLOB ) LOB(myClob) STORE AS SECUREFILE;
You can encrypt a secured file using Encrypt option for encryption you can use 3DES168 or, AES128 or, AES192 or, AES256 algorithm.
CREATE TABLE encrypt_tab ( myClob CLOB ) LOB(myClob) STORE AS SECUREFILE encrypt_lob( ENCRYPT USING 'AES256' );
- Related Articles
- How to write data into BLOB and CLOB type columns in a table using JDBC?
- How to Read data from BLOB and CLOB type columns from a table using JDBC?
- How to get the datatype of a column of a table using JDBC?
- What is JDBC Clob data type? how to store and read data from it?
- How to change the datatype of a column in an existing table using JDBC API?
- What is the MySQL datatype to store DATALINK object in JDBC
- Write an JDBC example to retrieve Clob value from a table using the getCharacterStream() method?
- How can we retrieve a blob datatype from a table using the getBinaryStream() method in JDBC?
- Write an JDBC example for inserting value for Clob data type into a table?
- How to convert a CLOB type to String in Java?
- Write an JDBC example for inserting value for Blob datatype into a table?
- How to encrypt a large file using openssl?
- How to encrypt and decrypt data in Python
- How to sum rows of VARCHAR datatype or TIME datatype in MySQL?
- How to encrypt the MS excel workbook?

Advertisements