Skip to content

Conversation

@dementeddevil
Copy link

@dementeddevil dementeddevil commented Mar 1, 2019

Refactored random block generation logic to avoid recreation of Random class. (deals with issue in tracker)
Use of Random class is now thread-safe (using thread-local wrapper).
Random class is initialised using a cryptographically secure random seed.
Fixed potential bug in DateTime usage - uses UtcNow instead of Now.
Project file updated to generate .NET Standard 2.0 and .NET 4.6 assemblies.

…m class.

Fixed potential bug in DateTime usage - uses UtcNow instead of Now.
NCuid project supports .NET Standard 2.0 and .NET 4.6
…e the seed integer during construction of per-thread Random objects for better pseudo-randomness.
Reinstated version generation using MSBuild custom task
@fabiob
Copy link

fabiob commented Jul 13, 2019

@moonpyk, are you still active here? I'm really interested in this PR.

@moonpyk
Copy link
Owner

moonpyk commented Jul 17, 2019

@fabiob Yup I'm still active, just back from holidays, I'll try to have a look on your PR ASAP, sorry for the wait

<RootNamespace>NCuid.Tests</RootNamespace>
<AssemblyName>NCuid.Tests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was the target framework change an obligation ?

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<AssemblyVersion>1.0.0.*</AssemblyVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please leave the star at the end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants