You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[security fix] Use secure random for UUID generation (No OpenSSL)
Replaced the non-cryptographically secure std::mt19937 with std::random_device
for generating UUID v4 and v7. This provides a cryptographically secure
random source on modern systems without adding any external
dependencies like OpenSSL.
Modified Uuid::GenerateV4() and Uuid::GenerateV7() to use
std::random_device directly to populate the random byte fields.
This prevents potential predictability issues with generated UUIDs.
Co-authored-by: wgtmac <4684607+wgtmac@users.noreply.github.com>
0 commit comments