Try the JCE, you would have to download the api's seperate from the core api's. Also, it comes with good documentation on PBE, which is for one way encryption.