Logo
Encryption Algorithm

Encryption Algorithm #

MD5 Encrypt Algorithm #

Type: MD5

Attributes:

NameDataTypeDescription
saltStringSalt value(optional)

AES Encrypt Algorithm #

Type: AES

Attributes:

NameDataTypeDescription
aes-key-valueStringAES KEY

RC4 Encrypt Algorithm #

Type: RC4

Attributes:

NameDataTypeDescription
rc4-key-valueStringRC4 KEY

SM3 Encrypt Algorithm #

Type: SM3

Attributes:

NameDataTypeDescription
sm3-saltStringSM3 SALT (should be blank or 8 bytes long)

SM4 Encrypt Algorithm #

Type: SM4

Attributes:

NameDataTypeDescription
sm4-keyStringSM4 KEY (should be 16 bytes)
sm4-modeStringSM4 MODE (should be CBC or ECB)
sm4-ivStringSM4 IV (should be specified on CBC, 16 bytes long)
sm4-paddingStringSM4 PADDING (should be PKCS5Padding or PKCS7Padding, NoPadding excepted)

SphereEx:AES Encrypt Algorithm #

Type: SphereEx:AES

Attributes:

NameDataTypeDescription
key-managerStringName of the key management algorithm

SphereEx:RC4 Encrypt Algorithm #

Type: SphereEx:RC4

Attributes:

NameDataTypeDescription
key-managerStringName of the key management algorithm

SphereEx:SM3 Encrypt Algorithm #

Type: SphereEx:SM3

Attributes:

NameDataTypeDescription
key-managerStringName of the key management algorithm

SphereEx:SM4 Encrypt Algorithm #

Type: SphereEx:SM3

Attributes:

NameDataTypeDescription
key-managerStringName of the key management algorithm

Like Encrypt Algorithm #

Single Character Bit Transform Encryption Algorithm #

Note: The algorithm adopts single-character bitwise conversion encryption mode and supports key cloud management.

Type: SphereEx:CHAR_TRANSFORM_LIKE

Attributes:

No

key management #

Commercial encryption algorithms (SphereEx:AES, SphereEx:RC4, SphereEx:SM3, SphereEx:SM4) can use key management to manage key configuration in a unified way, and support local key management and cloud key management functions.

Local Key Management #

Type: LOCAL

Attributes:

NameDataTypeDescription
aes-key-valueStringSphereEx:AES KEY to use
rc4-key-valueStringSphereEx:RC4 KEY to use
sm3-saltStringSphereEx:SM3 SALT to use(Null or 8 Bytes)
sm4-keyStringSphereEx:SM4 KEY to use (16 Bytes)
sm4-modeStringSphereEx:SM4 MODE to use (CBC or ECB)
sm4-ivStringSphereEx:SM4 IV to use (MODE must be specified when CBC is used,16 Bytes)
sm4-paddingStringSphereEx:SM4 PADDING to use (PKCS5Padding or PKCS7Padding,Not supported NoPadding)

AWS Cloud Key Management #

Type: SphereEx:AWS_KMS

Attributes:

NameDataTypeDescription
access-keyStringaws access key configuration
secret-keyStringaws secret key configuration
aws-regionStringaws region configuration
secret-nameStringaws secret name configuration