DecodeBox
Search
K
Guides
SDK Reference
Operations
Playgrounds
Operations Explorer
Auto Detection Lab
Encoding & Decoding Lab
Open DecodeBox
Theme
Menu
ON THIS PAGE
#
SM4 Decrypt
Decrypts SM4 ciphertext.
ID:
sm4-decrypt
Category: Encryption / Encoding
Aliases: sm4 decrypt
#
Arguments
Argument
Type
Default
Constraints
Key
toggleString
""
Formats: UTF-8, Hex, Base64, Latin1, Decimal. Default format: Hex
IV
toggleString
""
Formats: UTF-8, Hex, Base64, Latin1, Decimal. Default format: Hex
Mode
option
"CBC"
CBC, CFB, OFB, CTR, ECB
Input
option
"Raw"
Raw, Hex
Output
option
"Hex"
Raw, Hex
Padding
option
"PKCS#7"
PKCS#7, None