Encryption Algorithm #
MD5 Encrypt Algorithm #
Type: MD5
Attributes:
Name | DataType | Description |
---|---|---|
salt | String | Salt value(optional) |
AES Encrypt Algorithm #
Type: AES
Attributes:
Name | DataType | Description |
---|---|---|
aes-key-value | String | AES KEY |
RC4 Encrypt Algorithm #
Type: RC4
Attributes:
Name | DataType | Description |
---|---|---|
rc4-key-value | String | RC4 KEY |
SM3 Encrypt Algorithm #
Type: SM3
Attributes:
Name | DataType | Description |
---|---|---|
sm3-salt | String | SM3 SALT (should be blank or 8 bytes long) |
SM4 Encrypt Algorithm #
Type: SM4
Attributes:
Name | DataType | Description |
---|---|---|
sm4-key | String | SM4 KEY (should be 16 bytes) |
sm4-mode | String | SM4 MODE (should be CBC or ECB) |
sm4-iv | String | SM4 IV (should be specified on CBC, 16 bytes long) |
sm4-padding | String | SM4 PADDING (should be PKCS5Padding or PKCS7Padding, NoPadding excepted) |
SphereEx:AES Encrypt Algorithm #
Type: SphereEx:AES
Attributes:
Name | DataType | Description |
---|---|---|
key-manager | String | Name of the key management algorithm |
SphereEx:RC4 Encrypt Algorithm #
Type: SphereEx:RC4
Attributes:
Name | DataType | Description |
---|---|---|
key-manager | String | Name of the key management algorithm |
SphereEx:SM3 Encrypt Algorithm #
Type: SphereEx:SM3
Attributes:
Name | DataType | Description |
---|---|---|
key-manager | String | Name of the key management algorithm |
SphereEx:SM4 Encrypt Algorithm #
Type: SphereEx:SM3
Attributes:
Name | DataType | Description |
---|---|---|
key-manager | String | Name 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:
Name | DataType | Description |
---|---|---|
aes-key-value | String | SphereEx:AES KEY to use |
rc4-key-value | String | SphereEx:RC4 KEY to use |
sm3-salt | String | SphereEx:SM3 SALT to use(Null or 8 Bytes) |
sm4-key | String | SphereEx:SM4 KEY to use (16 Bytes) |
sm4-mode | String | SphereEx:SM4 MODE to use (CBC or ECB) |
sm4-iv | String | SphereEx:SM4 IV to use (MODE must be specified when CBC is used,16 Bytes) |
sm4-padding | String | SphereEx:SM4 PADDING to use (PKCS5Padding or PKCS7Padding,Not supported NoPadding) |
AWS Cloud Key Management #
Type: SphereEx:AWS_KMS
Attributes:
Name | DataType | Description |
---|---|---|
access-key | String | aws access key configuration |
secret-key | String | aws secret key configuration |
aws-region | String | aws region configuration |
secret-name | String | aws secret name configuration |