Commit 26a27037 authored by Éloïs's avatar Éloïs
Browse files

[RFC17] fix some typos

parent 88832550
......@@ -5,7 +5,7 @@ Alice wants to send a transaction to bob with an encrypted comment.
Let `Sa` the private key of Alice and `Pa` its associated public key.
Let `Sb` the private key of Bob and `Pb` its associated public key.
## generate symetric encryption key
## Generate symetric encryption key
We use nacl function [crypto_box_beforenm]. Then use scrypt with a random nonce.
......@@ -28,7 +28,7 @@ p = 1
dkLen = message length
```
## encrypt with XOR cipher
## Encrypt with XOR cipher
Encrypt bit per bit with XOR cipher.
......@@ -59,7 +59,7 @@ A possible future format should increment the first byte of the prefix.
| 0x10 | Write by a machine for a human |
| 0x11 | Write by a machine for a machine |
## Encodinq in transaction document
## Encoding in transaction document
Encrypted message in encoded in base 64 in transaction comment directly (DUBP protocol already accept all base 64 characters).
......
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