Summary

In today's world of wide open networks such as the Internet, being able to encrypt data allows us to 'hide information in plain site'. The JCE package provides the tools to do this with minimal effort. Even though there are a number of different encryption algorithms that could be used, the JCE package manages to provide a convenient yet flexible abstraction of the common aspects of the encryption process. The package allows different implementations from different providers to be substituted in a plug-and-play fashion.

In this chapter we saw firsthand how to use the JCE package. JCE was used to create a JCETool class, which provides private key encryption services. This class was then used with a JAAS LoginModule implementation to provide ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.