v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
14
source/core/StarSecureRandom.hpp
Normal file
14
source/core/StarSecureRandom.hpp
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue