Skip to content

Commit

Permalink
Update (#56)
Browse files Browse the repository at this point in the history
+ Updated references
  • Loading branch information
nd1012 authored Jul 6, 2024
1 parent a0883d8 commit 013bdcb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
13 changes: 12 additions & 1 deletion src/wan24-Crypto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ customized easily by extending the type (pregnant methods are virtual).

**CAUTION**: Be aware of the patent US10402172B1!

### Some words on secure seeding
#### Some words on secure seeding

A PRNG isn't enough, and even a CSRNG isn't enough, if the RNG's seed is not
good. Modern OS CSRNG implementations use hardware and software environment
Expand Down Expand Up @@ -1262,6 +1262,17 @@ offer everything a C# developer needs for a better random number source.

**NOTE**: Even the best PQC algorithm will _fail_ when not using a good RNG!

### Entropy monitoring

The `(Disposable)EntropyMonitor` can monitor the entropy of produced RND and
enforce a minimum required entropy using available algorithms from
`EntropyHelper`. The monitor simply wraps an `IRng` for this and adds entropy
checks for produced RND before returning.

**CAUTION**: If you didn't set a `MaxRetries` value larger than zero, a wrong
`EntropyHelper` configuration could cause system exhaustion when RND was
requested.

## Password post-processing

An entered user password may be easy to break using brute force. For this
Expand Down
10 changes: 5 additions & 5 deletions src/wan24-Crypto/wan24-Crypto.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<PackageId>wan24-Crypto</PackageId>
<Title>wan24-Crypto</Title>
<Version>2.15.0</Version>
<Version>2.16.0</Version>
<Authors>nd1012</Authors>
<Company>Andreas Zimmermann, wan24.de</Company>
<Product>wan24-Crypto</Product>
Expand All @@ -30,10 +30,10 @@

<ItemGroup>
<PackageReference Include="ObjectValidation" Version="2.5.0" Condition="'$(Configuration)' != 'Trunk'" />
<PackageReference Include="Stream-Serializer-Extensions" Version="3.7.0" Condition="'$(Configuration)' != 'Trunk'" />
<PackageReference Include="wan24-Compression" Version="2.8.0" Condition="'$(Configuration)' != 'Trunk'" />
<PackageReference Include="wan24-Core" Version="2.30.0" Condition="'$(Configuration)' != 'Trunk'" />
<PackageReference Include="wan24-Core-Validation" Version="1.1.0" Condition="'$(Configuration)' != 'Trunk'" />
<PackageReference Include="Stream-Serializer-Extensions" Version="3.8.0" Condition="'$(Configuration)' != 'Trunk'" />
<PackageReference Include="wan24-Compression" Version="2.9.0" Condition="'$(Configuration)' != 'Trunk'" />
<PackageReference Include="wan24-Core" Version="2.31.0" Condition="'$(Configuration)' != 'Trunk'" />
<PackageReference Include="wan24-Core-Validation" Version="1.2.0" Condition="'$(Configuration)' != 'Trunk'" />
<ProjectReference Include="..\..\..\ObjectValidation\src\ObjectValidation\ObjectValidation.csproj" Condition="'$(Configuration)' == 'Trunk'" />
<ProjectReference Include="..\..\..\wan24-Core\src\Wan24-Core-Validation\Wan24-Core-Validation.csproj" Condition="'$(Configuration)' == 'Trunk'" />
<ProjectReference Include="..\..\..\wan24-Core\src\Wan24-Core\Wan24-Core.csproj" Condition="'$(Configuration)' == 'Trunk'" />
Expand Down

0 comments on commit 013bdcb

Please sign in to comment.