osb/source/core/StarSecureRandom.hpp

15 lines
276 B
C++
Raw Normal View History

2023-06-20 04:33:09 +00:00
#ifndef STAR_SECURE_RANDOM_HPP
#define STAR_SECURE_RANDOM_HPP
#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);
}
#endif