I DID PROGRESS!
This commit is contained in:
parent
4119a1bbcd
commit
253fdd2a40
6 changed files with 51 additions and 7 deletions
11
lib/Crypto.cs
Normal file
11
lib/Crypto.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
using System.Security.Cryptography;
|
||||
|
||||
namespace lib;
|
||||
|
||||
public static class Crypto {
|
||||
public static RSA GenerateKey() {
|
||||
return RSA.Create(512);
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -1,5 +1,8 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Cryptography" Version="1.0.0"/>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue