Implement functionality to convert WIF private key #1

Closed
opened 2025-02-04 11:34:09 +00:00 by orikik · 0 comments
Member

Implement functionality to convert WIF private key using python ecdsa package into keys, for signing and verification. Implementation examples:

Java
C#
Go

This Java test can be used to reconcile the results obtained. Note that in Python the byte structure ranges from 0 to 256, while in Java it ranges from -128 to 127. That is, if in Java it is -1, in Python it is 256.
Java test

This is necessary to sign messages before transmitting them over the gRPC channel, since initially we only possess the WIF private key.

Implement functionality to convert WIF private key using python ecdsa package into keys, for signing and verification. Implementation examples: [Java](https://git.frostfs.info/TrueCloudLab/frostfs-sdk-java/src/tag/v0.4.0/cryptography/src/main/java/info/frostfs/sdk/KeyExtension.java) [C#](https://git.frostfs.info/TrueCloudLab/frostfs-sdk-csharp/src/branch/master/src/FrostFS.SDK.Cryptography/Key.cs) [Go](https://git.frostfs.info/TrueCloudLab/frostfs-crypto/src/branch/master/load.go) This Java test can be used to reconcile the results obtained. Note that in Python the byte structure ranges from 0 to 256, while in Java it ranges from -128 to 127. That is, if in Java it is -1, in Python it is 256. [Java test](https://git.frostfs.info/TrueCloudLab/frostfs-sdk-java/src/tag/v0.4.0/cryptography/src/test/java/info/frostfs/sdk/KeyExtensionTest.java) This is necessary to sign messages before transmitting them over the gRPC channel, since initially we only possess the WIF private key.
Sign in to join this conversation.
No description provided.