Commit 5376a54b authored by Éloïs's avatar Éloïs
Browse files

[RFC17] fix R computation

parent 26a27037
......@@ -65,7 +65,7 @@ Encrypted message in encoded in base 64 in transaction comment directly (DUBP pr
## Decrypt transaction comment (Bob side)
1. Compute `R = beforenm(crypto_box_beforenm(Sb, Pa))`
1. Compute `R = crypto_box_beforenm(Sb, Pa)`
2. Read meta data `l = Message length`
3. Read meta data `s = Salt`
4. Generate symetric encryption key `k = scrypt(R, s, N: 1024, r: 12, p: 1, dkLen: l)`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment