Corner cases are problematic. It would be good to work with standard tests that are know to trip implementations. Here are some examples. - [ ] https://github.com/google/wycheproof/blob/master/testvectors/ - [x] https://github.com/BLAKE2/BLAKE2/tree/master/testvectors