Search
🔐

Crypto

This document describes Crypto encryption in block coding method.
Index

Crypto Block

1) Encrypt

Encrypt the string as entered in Method.
An encryption key is a value used together with an algorithm for encryption or decryption.
iv is the initialization vector, which means the value used to encrypt the first block.
Example of using a block

2) Decrypt

Decrypt the encrypted string in the manner entered in Method.
Example of using a block

3) Crypt Option

Option block of encryption method.
The options include RAW_DATA, ZERO_PADDING, NO_PADDING, DON’T_ZERO_PAD_KEY.

4) Crypt Method

Crypt Method is a cryptographic algorithm.
The methods that can be supported are as follows. Menus that are not in the drop-down list can be registered by entering the string block directly.
AES-128-CBC
AES-256-CFB8
aes-128-cfb1
bf-cbc
cast
AES-128-CFB
AES-256-OFB
aes-128-cfb8
bf-cfb
CAST-cbc

RSA Block

1) RSA Encrypt

Encrypt the string RSA method.

2) RSA Decrypt

Decrypt strings encrypted using RSA methods

3) RSA Crypt Option

Option block of the RSA encryption method.
The options include PKCS1_PADDING, SSLV23_PADDING, NO_PADDING, PKCS1_OAEP_PADDING.

RSA Block Usage Example

Data encrypted with RSA is in Binary form, and the actual API call works normally.
However, since SyncTree Testbed deals with json Data, an Error may occur when executing the Test, so it is recommended to Base 64 encode(decode) before and after encryption and decryption.
SyncTree SaaS currently does not support Local File connection. Please connect the Public Key and Private Key using the String Block.

1) RSA Encrypt Example

2) RSA Decrypt Example

The RSA password is one of the public key cryptosystems, known as the first algorithm that can be electronically signed as well as encrypted. Please refer to the following link for detailed explanation.