Talk:Encryption of data using JSR-177
From Nokia Developer Wiki
This concise article demonstrates how to perform encryption and decryption easily using Java ME (and the JSR-177 API in particular). The article demonstrates the use of the DES symmetric encryption algorithm. The String "THIS IS A SECRET MESSAGE" is encrypted using the key “SECRET!!” (which must be 8 bytes in length).
The article shows how to convert a message to a byte array, initialize a Cypher object using a key, and perform encryption and decryption.