修改SM4解密方法
This commit is contained in:
parent
daae04f327
commit
fae49d89b0
@ -538,6 +538,6 @@ class SM4 {
|
|||||||
if (key != null) setKey(key);
|
if (key != null) setKey(key);
|
||||||
List<int> input = data;
|
List<int> input = data;
|
||||||
List<int> output = _crypto(input, SM4_DECRYPT, mode, iv);
|
List<int> output = _crypto(input, SM4_DECRYPT, mode, iv);
|
||||||
return utf8.decode(output);
|
return output;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user