Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarSecureRandom.hpp
blob: d8b97545e16eb9b6cfebfb27184dc8c3d4e29ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#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);

}