1

Nice to meet you all.

This is the first time I have posted here, so please feel free to let me know if I am wrong.

I am doing some research on the Transparent Data Encryption feature. I want to validate the ability to extract data without logging into the database instance and before encryption, by reading the .dbf file directly with HexEditor, Notepad++, or something equivalent.

The problem is with the data type VARCHAR2; the value is plaintext, the same as the returns when I query in the instance. But with NUMBER, DATE, or anything that is not VARCHAR2, I cannot find plaintext in the .dbf

Datatypes of columns

Datatypes of columns

The returns when I query in the instance

The returns when I query in the instance

Hex Editor returns plaintext with VARCHAR2 datatype data…

Hex Editor returns plaintext with VARCHAR2 datatype data…

… but not with NUMBER datatype data

… but not with NUMBER datatype data

I did a lot of research on the Internet, but it seems there is no clear answer and no demo of the contents of data files before and after using TDE. Why is it like that? And more, I think that Oracle stores non-VARCHAR2 data types in binary format to save storage and VARCHAR2 data types for easily returning in query, am I correct?

Thank you for any guidance!

Vu Hoang.

1 Answer 1

1
SQL> select dump(200224, 1016) from dual;

DUMP(200224,1016)
-----------------------
Typ=2 Len=4: c3,15,3,19

SQL>

This section is right there on your screenshot in line 00327FE0 starting at column 07, this is how Oracle stores numbers.

1
  • Wow! I feel lucky. As a beginner, thank you so much!
    – Lu Hong Ve
    Commented Jul 29 at 17:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.