Existing Chaos.NaCl.Ed25519 conflict with dotnet-stellar-sdk
See original GitHub issueOn an existing .NET 4.6.2 console application, I have dlech.Chaos.NaCl
package installed (version 0.1.0).
In my existing code there is a line:
var buf = new byte[32];
Chaos.NaCl.Ed25519.KeyPairFromSeed(out byte[] publicKey, out byte[] expandedPrivateKey, buf);
After installing the dotnet-stellar-sdk
, and trying to compile I get an error (on the reference to Chaos.NaCl.Ed25519
):
Error CS0433 The type 'Ed25519' exists in both 'Chaos.NaCl, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null' and 'stellar-dotnetstandard-sdk, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' Stellar D:\Projects\Stellar\Encryption.cs
What can I do to resolve this issue?
P.S: This might not be a stellar-dotnetstandard-sdk
bug, but I’m not a .NET expert and the face the both packages use a different namespace makes me wonder what could cause this.
Please advice.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14
Top Results From Across the Web
Chaos.NaCl cryptography library
Ed25519 is a public key crypto system with a 128 bit security level. It is based on the 255 bit elliptic curve Curve25519...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure we will work on it, i’m glad you got it working, thank you and apologies for the late time response since i’m working ^^"
El jue., 20 sept. 2018 9:36, bazooka70 notifications@github.com escribió:
Can you try to compile the DLL from this code and use that instead of the Nuget, i believe the Nuget have an old version with the old names.