|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Crypto
Allows to encrypt and decrypt text using a symmetric algorithm.
| Method Summary | |
|---|---|
String |
decrypt(String ciphertext)
Decrypts the cipher text and returns the result. |
String |
encrypt(String plaintext)
Encrypts the plain text and returns the result. |
| Method Detail |
|---|
String decrypt(String ciphertext)
throws CryptoException
ciphertext - base64 encoded encrypted data
CryptoException - when the ciphertext cannot be decrypted with the
key or on decryption error.
String encrypt(String plaintext)
throws CryptoException
plaintext - data to be encrypted
CryptoException - on encryption error
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||