| 24 | #include "flowbench/GlobalData.h" |
| 25 | |
| 26 | static StreamCipher::IV getRandomIV() { |
| 27 | StreamCipher::IV iv; |
| 28 | deterministicRandom()->randomBytes(iv.data(), iv.size()); |
| 29 | return iv; |
| 30 | } |
| 31 | |
| 32 | static inline Standalone<StringRef> encrypt(const StreamCipherKey* const key, |
| 33 | const StreamCipher::IV& iv, |
no test coverage detected