[System] Use GZipStream from corefx
[mono-project.git] / mono / metadata / rand.h
blob563b374835969d1375f8562b19057528e8bb4860
1 /*
2 * rand.h: System.Security.Cryptography.RNGCryptoServiceProvider support
4 * Author:
5 * Mark Crichton (crichton@gimp.org)
6 * Sebastien Pouliot (sebastien@ximian.com)
8 * (C) 2001 Ximian, Inc.
9 * Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
10 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
13 #ifndef _MONO_METADATA_RAND_H_
14 #define _MONO_METADATA_RAND_H_
16 #include <glib.h>
17 #include <mono/metadata/object.h>
18 #include "mono/utils/mono-compiler.h"
20 MonoBoolean ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngOpen (void);
21 gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngInitialize (MonoArray *seed);
22 gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngGetBytes (gpointer handle, MonoArray *arry);
23 void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngClose (gpointer handle);
25 #endif