implement PSOV2Encryption::single

This commit is contained in:
Martin Michelsen
2025-12-22 00:14:22 -08:00
parent ea23f18aa2
commit 87b048dc15
4 changed files with 75 additions and 4 deletions
+3
View File
@@ -132,6 +132,9 @@ public:
explicit PSOV2Encryption(uint32_t seed);
virtual Type type() const;
// Optimized implementation of `PSOV2Encryption(seed).next()` for when the caller needs only the first value
static uint32_t single(uint32_t seed);
protected:
virtual void update_stream();