luckykellan / dart_sm

基于Dart语言实现的国密SM2、SM3、SM4算法。
Apache License 2.0
34 stars 8 forks source link

SM3 含中文时与java端结果不一致 #4

Closed shenchunping closed 1 year ago

shenchunping commented 1 year ago

数据:{"appFlag":"true","currentPage":1,"pageSize":10,"productName":null,"riskClassCode":"全部"}

dart sm3结果:105513af9332bcf2cce70322ccbc24ab49c62b7e46f810487304e26a4102b9b5 java(hutool) sm3结果:752a357baa8645f07233103acf7e4333ae380225ec9287140a9b5697afc545d6

如果数据改为: {"appFlag":"true","currentPage":1,"pageSize":10,"productName":null,"riskClassCode":"06"} ,则完全匹配

luckykellan commented 1 year ago

0.1.4版本已解决