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

summaryrefslogtreecommitdiff
path: root/source/core/StarSecureRandom.hpp
blob: e4110b0069eb1a66bee155386655e75e7d8faf23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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