Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: issue #1696 Modify GenerateKeyParam to return a new value when .D.ToByteArrayUnsigned().Length != 32 Repeat until == 32 * Add change log * Update PrivateKeyTest.cs remove unused test Co-authored-by: Ohjin <lazist134407@gmail.com> Co-authored-by: Swen Mun <swen@planetariumhq.com> Co-authored-by: Chanhyuck Ko <limeelbee@gmail.com>
- Loading branch information
1 parent
7d7ac90
commit d0de3aa
Showing
4 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace Libplanet.Crypto | ||
{ | ||
[Serializable] | ||
public class GenerateKeyParamTriesExceedException : Exception | ||
{ | ||
public GenerateKeyParamTriesExceedException() | ||
{ | ||
} | ||
|
||
public GenerateKeyParamTriesExceedException(string message) | ||
: base(message) | ||
{ | ||
} | ||
|
||
public GenerateKeyParamTriesExceedException(string message, Exception innerException) | ||
: base(message, innerException) | ||
{ | ||
} | ||
|
||
protected GenerateKeyParamTriesExceedException( | ||
SerializationInfo info, StreamingContext context | ||
) | ||
: base(info, context) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters