Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-16 09:21:13

0001 /// \file ROOT/RCryptoRandom.hxx
0002 /// \ingroup Base
0003 /// \date 2026-04-24
0004 
0005 /*************************************************************************
0006  * Copyright (C) 1995-2026, Rene Brun and Fons Rademakers.               *
0007  * All rights reserved.                                                  *
0008  *                                                                       *
0009  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0010  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0011  *************************************************************************/
0012 
0013 #ifndef ROOT_RCryptoRandom
0014 #define ROOT_RCryptoRandom
0015 
0016 namespace ROOT {
0017 namespace Internal {
0018 
0019 /// Get random bytes from the operating system's cryptographic random number generator
0020 /// The requested number of bytes must not exceed 256.
0021 bool GetCryptoRandom(void *buf, unsigned int len);
0022 
0023 } // namespace Internal
0024 } // namespace ROOT
0025 
0026 #endif