
SMS4 Decrypt
The SMS4 algorithm is an encryption algorithm used in the WAPI wireless network standard widely adopted in China. It is a block cipher algorithm with a 32-round iterative unbalanced Feistel structure, with both key length and block length of 128.
The SMS4 algorithm uses the exact same algorithm for both encryption and decryption. The only difference is that the decryption key is obtained by reversing the order of the encryption key.
https://baike.baidu.com/item/SMS4%E7%AE%97%E6%B3%95/16858974
change Main.java set SMS4_KEY
len(SMS4_KEY) = 16
e.g.
java -jar SMS4_Decrypt-1.0-SNAPSHOT-jar-with-dependencies.jar
[+] SMS4 Decrypt
[+] Example: 1D7114B6968BF8208DD94A4DECE634CD
[+] Input SMS4 Password= 1D7114B6968BF8208DD94A4DECE634CD
[+] Passwd Length=32
[+] 明文密码= Jas502n
[+] Input SMS4 Password=
Package the jar
mvn install