Skip to content

Commit 767c45a

Browse files
Add GlobalUsings.cs with project-wide using directives for Algorithms folder (#522)
1 parent 1b9aa7e commit 767c45a

File tree

207 files changed

+51
-572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+51
-572
lines changed

Algorithms/Crypto/Digests/AsconDigest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Runtime.CompilerServices;
32
using Algorithms.Crypto.Utils;
43

Algorithms/Crypto/Digests/IDigest.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
31
namespace Algorithms.Crypto.Digests;
42

53
/// <summary>

Algorithms/Crypto/Digests/Md2Digest.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
3-
namespace Algorithms.Crypto.Digests;
1+
namespace Algorithms.Crypto.Digests;
42

53
/// <summary>
64
/// MD2 is a cryptographic hash function that takes an input message and produces a 128-bit output, also called a message

Algorithms/Crypto/Exceptions/CryptoException.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
31
namespace Algorithms.Crypto.Exceptions;
42

53
/// <summary>

Algorithms/Crypto/Exceptions/DataLengthException.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
31
namespace Algorithms.Crypto.Exceptions;
42

53
/// <summary>

Algorithms/Crypto/Exceptions/OutputLengthException.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
31
namespace Algorithms.Crypto.Exceptions;
42

53
/// <summary>

Algorithms/Crypto/Paddings/IBlockCipherPadding.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
3-
namespace Algorithms.Crypto.Paddings;
1+
namespace Algorithms.Crypto.Paddings;
42

53
/// <summary>
64
/// A common interface that all block cipher padding schemes should follow.

Algorithms/Crypto/Paddings/Iso10126D2Padding.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System;
2-
using System.Security.Cryptography;
3-
4-
namespace Algorithms.Crypto.Paddings;
1+
namespace Algorithms.Crypto.Paddings;
52

63
/// <summary>
74
/// <para>

Algorithms/Crypto/Paddings/Iso7816D4Padding.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
3-
namespace Algorithms.Crypto.Paddings;
1+
namespace Algorithms.Crypto.Paddings;
42

53
/// <summary>
64
/// <para>

Algorithms/Crypto/Paddings/Pkcs7Padding.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
3-
namespace Algorithms.Crypto.Paddings;
1+
namespace Algorithms.Crypto.Paddings;
42

53
/// <summary>
64
/// <para>

0 commit comments

Comments
 (0)