Java Cryptography by Jonathan B. Knudsen Following are the changes made in the 2/01 reprint. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification [141] The second line of first code block used to read: KeySpec ks = new PBEKeySpec(passphrase); where passphrase is a String variable The line now reads: KeySpec ks = new PBEKeySpec(passphrase.toCharArray()); The initial line fails on compilation with a cannot resolve symbol error. The corrected line compiles. With the correction the program (PBE,java) appears to function as desired. This appears to be a change to Class javax.crypto.spec.PBEKeySpec from what is given above and in the example and description on pages 324 and 325 of the text.