mirror of
https://github.com/wismna/ModernKeePassLib.git
synced 2025-10-03 23:50:20 -04:00
17 lines
312 B
C#
17 lines
312 B
C#
![]() |
using System;
|
|||
|
|
|||
|
namespace ModernKeePassLib.Cryptography
|
|||
|
{
|
|||
|
public class RNGCryptoServiceProvider: IDisposable
|
|||
|
{
|
|||
|
public void GetBytes(byte[] pb)
|
|||
|
{
|
|||
|
var random = new Random();
|
|||
|
random.NextBytes(pb);
|
|||
|
}
|
|||
|
|
|||
|
public void Dispose()
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|