Sign in to follow this  
marcel5432

Information About The Key Leangth And Encryption

Recommended Posts

Is there any more detailed information about what key length is used (salt, hash, algo, cipher, library?) and how the encryption works ? the key has a length of some more diigts than 32. is that an end to end key or a asymmetric key ?

Share this post


Link to post
Share on other sites

It's probably a good idea to cover this in a blog post. I'll make sure that we cover this. Stay tuned.

Share this post


Link to post
Share on other sites

in the meantime:

 

we use crypto_box for most of the crypto. This uses curve25519, Salsa20 and poly 1305 (more info here). The key length is 32 bytes. When hex-encoded it's 64 hex digits. The key you see under "Be Added by friends" is your public key. The private key is stored (encrypted) in settings.dat (if you loose this file, you loose your account).

 

Each user's keypair is used during handshake when connecting to authenticate and establish an ephemeral symmetric key for that session (really, to start off the ratcheting with).

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this