I want to get a SM3 instance's data to binary data.
example:
letmut hasher = Sm3::new();let result1:Vec<u8> = hasher.to_vec();// update
hasher.update(b"hello world");let result2:Vec<u8> = haser.to_vec();// result1 vs result2 is not same. because result2 is execute update function operation.
What I use or write code?
I want to get a SM3 instance's data to binary data.
example:
What I use or write code?