Compare commits

...

3 Commits

Author SHA1 Message Date
Alexandru Macocian 7eed1ca466 Unify namespace naming 2021-11-15 22:21:46 +01:00
Alexandru Macocian b6cc64fd51 Update dependencies 2021-11-15 22:08:24 +01:00
Alexandru Macocian c8bfaffb42 Fix namespaces 2021-11-15 22:04:18 +01:00
17 changed files with 22 additions and 25 deletions
@@ -6,7 +6,7 @@
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<LangVersion>latest</LangVersion>
<Version>1.1.5</Version>
<Version>1.1.6</Version>
<Authors>Alexandru Macocian</Authors>
<RepositoryUrl>https://github.com/AlexMacocian/SystemExtensions</RepositoryUrl>
</PropertyGroup>
@@ -20,8 +20,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.CorrelationVector" Version="1.0.42" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" />
<PackageReference Include="Slim" Version="1.5.4" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
<PackageReference Include="Slim" Version="1.6.0" />
<PackageReference Include="SystemExtensions.NetStandard" Version="1.3.1" />
</ItemGroup>
@@ -3,9 +3,9 @@ using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Security.Cryptography;
using System.Security.Encryption;
using System.Text;
using System.Threading.Tasks;
using SystemExtensions.NetStandard.Security.Encryption;
namespace SystemExtensions.NetStandard.Security.Tests
{
@@ -1,7 +1,7 @@
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Rng;
using System.Security.Rng;
namespace SystemExtensions.NetStandard.Security.Tests
{
@@ -1,7 +1,7 @@
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Hashing;
using System.Security.Hashing;
using System.Threading.Tasks;
namespace SystemExtensions.NetStandard.Security.Tests
@@ -1,7 +1,6 @@
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Encryption;
using System.Security.Encryption;
namespace SystemExtensions.NetStandard.Security.Tests
{
@@ -2,9 +2,9 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Security.Hashing;
using System.Text;
using System.Threading.Tasks;
using SystemExtensions.NetStandard.Security.Hashing;
namespace SystemExtensions.NetStandard.Security.Tests
{
@@ -1,11 +1,10 @@
using System;
using System.IO;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Threading.Tasks;
using SystemExtensions.NetStandard.Security.Utilities;
using System.Security.Utilities;
namespace SystemExtensions.NetStandard.Security.Encryption
namespace System.Security.Encryption
{
public sealed class AesEncrypter : ISymmetricEncrypter
{
@@ -1,7 +1,7 @@
using System.IO;
using System.Threading.Tasks;
namespace SystemExtensions.NetStandard.Security.Encryption
namespace System.Security.Encryption
{
public interface ISymmetricEncrypter
{
@@ -1,7 +1,7 @@
using System.Security.Cryptography;
using System.Text;
namespace System.Encryption
namespace System.Security.Encryption
{
public sealed class SecureString
{
@@ -1,7 +1,7 @@
using System.IO;
using System.Threading.Tasks;
namespace SystemExtensions.NetStandard.Security.Hashing
namespace System.Security.Hashing
{
public interface IHashingService
{
@@ -1,6 +1,6 @@
using System.Threading.Tasks;
namespace System.Hashing
namespace System.Security.Hashing
{
public interface IPasswordHashingService
{
@@ -1,7 +1,7 @@
using System.Security.Cryptography;
using System.Threading.Tasks;
namespace System.Hashing
namespace System.Security.Hashing
{
public sealed class Rfc2898DeriveBytesPasswordHashingService : IPasswordHashingService
{
@@ -1,9 +1,8 @@
using System;
using System.IO;
using System.IO;
using System.Security.Cryptography;
using System.Threading.Tasks;
namespace SystemExtensions.NetStandard.Security.Hashing
namespace System.Security.Hashing
{
public sealed class Sha256HashingService : IHashingService
{
@@ -1,6 +1,6 @@
using System.Security.Cryptography;
namespace System.Rng
namespace System.Security.Rng
{
public sealed class CryptoRngProvider : ICryptoRngProvider, IDisposable
{
@@ -1,4 +1,4 @@
namespace System.Rng
namespace System.Security.Rng
{
public interface ICryptoRngProvider
{
@@ -7,7 +7,7 @@
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<RootNamespace>System</RootNamespace>
<Version>1.2.0</Version>
<Version>1.2.2</Version>
<Authors>Alexandru Macocian</Authors>
<RepositoryUrl>https://github.com/AlexMacocian/SystemExtensions</RepositoryUrl>
</PropertyGroup>
@@ -1,7 +1,7 @@
using System.IO;
using System.Security.Cryptography;
namespace SystemExtensions.NetStandard.Security.Utilities
namespace System.Security.Utilities
{
internal sealed class NotClosingCryptoStream : CryptoStream
{