4 releases (breaking)

0.4.0 Jul 11, 2021
0.3.0 Jul 4, 2021
0.2.0 Jul 1, 2021
0.1.0 Jun 26, 2021

#845 in Cryptography

Download history 3991/week @ 2022-06-15 4989/week @ 2022-06-22 3689/week @ 2022-06-29 5758/week @ 2022-07-06 5337/week @ 2022-07-13 5464/week @ 2022-07-20 4267/week @ 2022-07-27 1288/week @ 2022-08-03 1200/week @ 2022-08-10 1187/week @ 2022-08-17 1385/week @ 2022-08-24 1284/week @ 2022-08-31 1222/week @ 2022-09-07 1858/week @ 2022-09-14 2067/week @ 2022-09-21 1983/week @ 2022-09-28

7,425 downloads per month
Used in 2 crates

Apache-2.0

8MB
963 lines

Wycheproof (Deserialized)

crates.io docs.rs

Google's Wycheproof project is an immensely useful set of tests which cover common corner cases in cryptographic code.

The author is currently on their third job in a row where he had to write code in Rust to deserialize the JSON formatted Wycheproof tests so they can be used to test some code. This crate was born out of a desire to never ever have to do this again. It also does all the nice things I wanted but didn't have the time to do on previous attempts, like decoding the hex and base64 during deserializion, using enums to aid type checking, verifies that schemas match the expected one, etc.

Comments and patches are welcome.

This crate is licensed Apache 2.0-only, just as Wycheproof itself is. The files in src/data are taken from the latest Wycheproof commit

Dependencies