osb/source/core/StarSecureRandom.hpp

12 lines
219 B
C++
Raw Normal View History

#pragma once
2023-06-20 04:33:09 +00:00
#include "StarByteArray.hpp"
namespace Star {
// Generate cryptographically secure random numbers for usage in password salts
// and such using OS facilities
ByteArray secureRandomBytes(size_t size);
}