RNS Logo

rns.recipes

◈ 9ce92808be498e9e05590ff27cbfdfe4
Upcoming RNS 1.6.0 https://rns.recipes/forum/general/upcoming-rns-160-help-testing

Key size for x25519

Started by DeavmiDesktop 756333422dba8596... ·

DeavmiDesktop 46da53c7aa596c5f...
#1

I see that the specification mentions that the encryption is done via X25519 keys. These are using ECDH and specifically the curve 25519. I have a question though, as part of my Go implementation that I am writing, for pure fun and for learning fundementals. I noticed that the spcification mentions 512bits. Hopwever, crypto/ecdh, complains when one pushes in a key that is not exactly 32 bytes long. 32*8 = 256 bits, a shortfall of half the bytes.

 

Am I missing something then, because I feel somewhat dumb founded about this, unless I am reading the specification wrong:

 

Asymmetric X25519 encryption and Ed25519 signatures as a basis for all communication

 

And then:

 

The foundational Reticulum Identity Keys are 512-bit Elliptic Curve keysets

 

Any text-based explanatory help would be appreciated.

 

Regards,
TBVK

Post a Reply

Supports Markdown: **bold**, *italic*, `code`, ```code blocks```, [links](url)

Log in to upload images

Quote
Copied to clipboard