Starbound/source/core/StarSecureRandom.hpp
2025-03-21 22:23:30 +11:00

14 lines
276 B
C++

#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