Skip to content

Commit 7aeb405

Browse files
authored
Add default constructor to Blake3Config
Added a default constructor to Blake3Config and retained existing functionality. Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 831dd2f commit 7aeb405

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

HashifyNet/Algorithms/Blake3/Blake3Config.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,14 @@ public Blake3Config(int hashSizeInBits = DefaultHashSizeInBits, IReadOnlyList<by
111111
Personalization = personalization;
112112
}
113113

114+
/// <summary>
115+
/// Initializes a new instance of the <see cref="Blake3Config"/> class.
116+
/// </summary>
117+
/// <remarks>This constructor creates a default configuration for the Blake3 hashing algorithm.</remarks>
118+
public Blake3Config()
119+
{
120+
}
121+
114122
/// <summary>
115123
/// Creates a new instance of the <see cref="Blake3Config"/> class with the same configuration settings as the current
116124
/// instance.
@@ -152,4 +160,5 @@ public void Dispose()
152160
Personalization = null;
153161
}
154162
}
155-
}
163+
164+
}

0 commit comments

Comments
 (0)