Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit b6695ed

Browse files
committed
doc: Fixed headings
1 parent 096f589 commit b6695ed

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/fcef_format.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## FCEF Format specification
1+
# FCEF Format specification
22

3-
### Ver 1 (v0001) (DEPRECATED)
3+
## Ver 1 (v0001) (DEPRECATED)
44
This document explains the specification of the FCEF file format Ver 1
55
**DEPRECATED: due to the vulnerability in the Ver 1 encryption algorithm it's strongly recommended to use Ver 2**
66

@@ -9,12 +9,12 @@ The FCEF format contain(s)
99

1010
**These will be called tags hereafter**
1111

12-
#### Encrypted data
12+
### Encrypted data
1313
A FCEF file generated with FileCrypt writes the nonce and encrypted data **after 0x0**.
1414
This tag contains the actual data that is used to decrypt.
1515

1616

17-
### Ver 2 (v0002)
17+
## Ver 2 (v0002)
1818
This document explains the specification of the FCEF file format Ver 2
1919

2020
The FCEF format contain(s)
@@ -25,18 +25,18 @@ The FCEF format contain(s)
2525
**These will be called tags hereafter**
2626
**The tag size(excluding Encrypted data) of FCEF Ver2 is 22 bytes**
2727

28-
#### Version number
28+
### Version number
2929
A FCEF file generated with FileCrypt writes the encryption version that it used to encrypt the file **from 0x0 to 0x5**.
3030
It's used to check whether the FCEF file can be decrypted using the current version of the software.
3131
Every version after Ver 1 will contain this tag.
3232
**Note: the last byte(0x5) of the version tag contains a line brake(`\n`)**
3333
**Note: the version number ranges from v0001 to v9999**
3434

35-
#### Salt
35+
### Salt
3636
A FCEF file generated with FileCrypt writes the salt generated using `rand.Read(salt)` **from 0x6 to 0x15**
3737
It's used while decrypting to regenerate the argon2 hash from the password.
3838

39-
#### Encrypted data
39+
### Encrypted data
4040
A FCEF file generated with FileCrypt writes the nonce and encrypted data **after 0x15**.
4141
This tag contains the actual data that is used to decrypt.
4242

0 commit comments

Comments
 (0)