Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/package improvement #13

Merged
merged 2 commits into from
Jan 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 deletions CryptoNetLib/CryptoNetLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
<TargetFramework>netstandard2.0</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

<PropertyGroup>
<PackageId>CryptoNet</PackageId>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/maythamfahmi/CryptoNet</RepositoryUrl>
<PackageProjectUrl>https://github.com/maythamfahmi/CryptoNet</PackageProjectUrl>
<ApplicationIcon>CryptoNetLogo-icon.ico</ApplicationIcon>
<PackageIcon>CryptoNetLogo-icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIconUrl>https://raw.githubusercontent.com/maythamfahmi/CryptoNet/main/img/CryptoNetLogo-icon.png</PackageIconUrl>
<Company>NextBix</Company>
<Authors>Maytham Fahmi</Authors>
<Version>1.0.0</Version>
<MinClientVersion>1.0.0</MinClientVersion>
<Version>1.2.0</Version>
<Title>CryptoNet</Title>
<Product>CryptoNet</Product>
<RootNamespace>CryptoNetLib</RootNamespace>
Expand All @@ -25,6 +25,11 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright © 2020</Copyright>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<Target Name="PrepareReleaseNotes" BeforeTargets="GenerateNuspec">
Expand All @@ -35,17 +40,14 @@

<ItemGroup>
<Content Include="CryptoNetLogo-icon.ico" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<None Include="..\img\CryptoNetLogo-icon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\LICENSE" Pack="true" PackagePath="\" />
<None Include="..\README.md" Pack="true" PackagePath="\" />
<None Include="..\img\CryptoNetLogo-icon.png" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
![Cryptonet](https://raw.githubusercontent.com/maythamfahmi/CryptoNet/main/img/CryptoNetLogo.svg)

[![GitHub](https://img.shields.io/github/license/maythamfahmi/cryptonet)](https://github.com/maythamfahmi/CryptoNet/blob/main/LICENSE)
[![CryptoNet NuGet version](https://img.shields.io/nuget/v/CryptoNet?color=blue)](https://www.nuget.org/packages/CryptoNet/)
[![Passing build workflow](https://github.com/maythamfahmi/CryptoNet/actions/workflows/ci.yml/badge.svg)](https://github.com/maythamfahmi/CryptoNet/actions/workflows/ci.yml)
[![Generic badge](https://img.shields.io/badge/support-.NET%20Standard%202.0-blue.svg)](https://github.com/bezzad/Downloader)
[![The Standard - COMPLIANT](https://img.shields.io/badge/The_Standard-COMPLIANT-2ea44f)](https://github.com/hassanhabib/The-Standard)
[![BCH compliance](https://bettercodehub.com/edge/badge/maythamfahmi/CryptoNet?branch=main)](https://bettercodehub.com/)
[![GitHub](https://img.shields.io/github/license/maythamfahmi/cryptonet)](https://github.com/maythamfahmi/CryptoNet/blob/main/LICENSE)


# Introdution
CryptoNet is a simple and a lightweight asymmetric encryption NuGet library.
:rocket: CryptoNet is simple, fast and a lightweight asymmetric encryption NuGet library supporting .NET Standard 2.0.
It is a 100% native C# implementation based on [RSA](https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.rsa?view=net-6.0) factory class.
It does not depending on other library.

## Installation

Expand All @@ -32,7 +35,7 @@ You can download CryptoNet via [NuGet](https://www.nuget.org/packages/CryptoNet/

Please report issues [here](https://github.com/maythamfahmi/CryptoNet/issues).

## Using / Documentation
## How to use

### Short intro

Expand All @@ -50,6 +53,8 @@ You find the comlete and all [examples](https://github.com/maythamfahmi/CryptoNe

Here is some of the examples:

### Examples

### Example: Encrypt and Decrypt Content With Self-Generated Asymmetric Key
```csharp
ICryptoNet cryptoNet = new CryptoNet();
Expand Down