Data encryption
This tool allows you to encrypt and decrypt data with OpenSSL methods.
Decrypt data
Input parameters
| Section | Parameters | Usage | Mandatory |
|---|---|---|---|
| Data | Encrypted data | The encrypted data that you want to decrypt. | No |
| Cipher Type | Block cipher lets you choose the encryption algorithm. | No | |
| Block Cipher | Cipher Key | The key which the data was encrypted. If you choose not to Hash the key, The length should be for BLOWFISH 56 bytes, for AES and CAMELLIA 32 bytes, for CAST5 and SEED 16 bytes and for DES a 8 bytes length string. | No |
| Cipher Salt (IV) | If you leave it blank, a random salt will be generated. AES, CAMELLIA and SEED need a 16 bytes length string. BLOWFISH, DES and CAST5 need a 8 bytes length string. | No | |
| Cipher Method | The method that was used to encrypt the data. AES uses AES-256 and CAMELLIA uses CAMELLIA-256. | No | |
| Cipher Mode | The mode of the cipher method used to decrypt. CBC is the most common one. | No | |
| Hash Method | The function used to hash the Cipher Key. Choose “Noneâ€, if you know that the key was not hashed. | No | |
| Output format | The format in which the data was encrypted. | No |
Response parameters
| Parameter | Usage |
|---|---|
| result | The decrypted string. |
| error | This field will contain an error message if the decryption fails. |
Encrypt data
Input parameters
| Section | Parameters | Usage | Mandatory |
|---|---|---|---|
| Data | Data to encrypt | The data that you want to encrypt. | No |
| Cipher Type | Block cipher lets you choose the encryption algorithm. | No | |
| Block Cipher | Cipher Key | Your secret key to encrypt the data. If you choose not to Hash the key, The length should be for BLOWFISH 56 bytes, for AES and CAMELLIA 32 bytes, for CAST5 and SEED 16 bytes and for DES a 8 bytes length string. | No |
| Cipher Salt (IV) | If you leave it blank, a random salt will be generated. AES, CAMELLIA and SEED need a 16 bytes length string. BLOWFISH, DES and CAST5 need a 8 bytes length string. | No | |
| Cipher Method | The method used to encrypt. AES uses AES-256 and CAMELLIA uses CAMELLIA-256. | No | |
| Cipher Mode | The mode of the cipher method used to encrypt. CBC is the most common one. | No | |
| Hash Method | The function used to hash the Cipher Key. If you choose “Noneâ€, the key won’t be hashed. | No | |
| Output format | The format in which you want the data encrypted. | No |
Response parameters
| Parameter | Usage |
|---|---|
| result | The encrypted string. |
| error | This field will contain an error message if the encryption fails. |
Was this article helpful?