public class EncryptionDecryption extends Object
| Constructor and Description |
|---|
EncryptionDecryption() |
| Modifier and Type | Method and 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 © 2024. All rights reserved.