DaGenix / rust-crypto

A (mostly) pure-Rust implementation of various cryptographic algorithms.
Apache License 2.0
1.4k stars 298 forks source link

result_str() doesn't work with SHAKE #386

Open Arcterus opened 8 years ago

Arcterus commented 8 years ago

Because digest_length() is 0, output_bits() is also 0. This means the slice passed to result() ends up having a length of 0.