Badminton-Scoreboard/Libraries/libil2cpp/include/os/Cryptography.h

24 lines
665 B
C
Raw Normal View History

2023-10-08 02:24:48 +00:00
#pragma once
namespace il2cpp
{
namespace os
{
class Cryptography
{
public:
/* Returns a handle the cryptography provider to use in other calls on this API. */
static void* GetCryptographyProvider();
/* Open the cryptogrpahy provider. */
static bool OpenCryptographyProvider();
/* Indicate that the cyrptography provider is no longer in use. */
static void ReleaseCryptographyProvider(void* provider);
/* Use the provider to fill the buffer with cryptographically random bytes. */
static bool FillBufferWithRandomBytes(void* provider, intptr_t length, unsigned char* data);
};
}
}