少年修仙传客户端基础资源
hch
2024-04-01 d01413b00ef631ac20347716b23818b0b811f65f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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, uint32_t length, unsigned char* data);
    };
}
}