Questions tagged [libsodium]

2 questions
2
votes
1 answer

ed25519 problem with libsodium implementation S_a + S_b = (s_a+s_b)*G

I'm trying to make my own implementation of atomic swaps by following this article. I use a low level node.js bindings for libsodium for this. If I understand the protocol correctly, then Alice and Bob have private keys (s_a, s_b) and public keys:…
2
votes
1 answer

Monero secret key (32b) vs libsodium ed25519 secret key (64b)

I'm trying to move cryptographic key operations in the Monero Python module from pure Python to pynacl which is a wrapper around libsodium. The first problem I stumbled upon is that Monero secret keys are 256 bit (32 bytes) while…
emesik
  • 620
  • 3
  • 11