Crate secret_keeper_test_util

Source

Enums§

TestDataKind

Functions§

arrays_eq
compare two arrays for equality Returns true if arrays have the same length and corresponding elements are “equal”
create_test_file
Creates file with random data. Returns temp file.
random_bytes
Create a BytesMut buffer and fill with random data. This does not generate cryptographically secure RNGs. Do NOT use this to generate keys, except for unit tests.
random_fill_text
Fill buffer with random (English) word-like text
uninitialized_bytes
Create a vector of specific size with uninitialized data. This should only be used if the vector will be immediately filled from a subsequent operation.