public class EncryptionDecryption extends Object
| Constructor | Description |
|---|---|
EncryptionDecryption() |
| Modifier and Type | Method | Description |
|---|---|---|
static String |
decrypt(String encryptedData) |
This function will decrypt the encrypted data.
|
static String |
encrypt(String data) |
Get a string and convert it to byte and do xor operation with key.
|
public static String encrypt(String data)
data - this is the data that we want to encryptpublic static String decrypt(String encryptedData)
encryptedData - this is the encrypted data we want to decryptCopyright © 2025. All rights reserved.