11 lines
161 B
C#
11 lines
161 B
C#
|
using System.Security.Cryptography;
|
||
|
|
||
|
namespace lib;
|
||
|
|
||
|
public static class Crypto {
|
||
|
public static RSA GenerateKey() {
|
||
|
return RSA.Create(512);
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|