Approach

As you read through this chapter, you will want to open the referenced files to follow along in the full code listing. First we are going to discuss the Java code that we implement for secret password encryption, because it is in Java that we will be building the encryption key and doing the encryption. However, we will not compile and run the Java code until the end of the chapter. Then we will run it in two phases: the first will be doing both encryption and decryption in Java on the client computer; the second phase will accomplish secret password encryption key exchange between the client computer and Oracle database and will demonstrate client/server encryption/decryption.

Before we get to the testing phases at the end of the chapter, ...

Get Expert Oracle and Java Security: Programming Secure Oracle Database Applications with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.