C H A P T E R  6

Secret Password Encryption

What I am calling secret password encryption (password encryption) is also known as shared secret passphrase encryption and password-based encryption (PBE). Basically, the idea is that a single passphrase (or password—I will be using those words interchangeably) is known by two parties, and they each encrypt messages or data to pass to each other using that password. The same password is used by the recipient to decrypt the messages and data. No one else can decrypt the data because the password is a secret, shared only by the two parties.

Password encryption is beneficial to us for several reasons, chief of which is that it can be used for encryption of larger blocks of data. We will be using the ...

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.