1
- ## FCEF Format specification
1
+ # FCEF Format specification
2
2
3
- ### Ver 1 (v0001) (DEPRECATED)
3
+ ## Ver 1 (v0001) (DEPRECATED)
4
4
This document explains the specification of the FCEF file format Ver 1
5
5
** DEPRECATED: due to the vulnerability in the Ver 1 encryption algorithm it's strongly recommended to use Ver 2**
6
6
@@ -9,12 +9,12 @@ The FCEF format contain(s)
9
9
10
10
** These will be called tags hereafter**
11
11
12
- #### Encrypted data
12
+ ### Encrypted data
13
13
A FCEF file generated with FileCrypt writes the nonce and encrypted data ** after 0x0** .
14
14
This tag contains the actual data that is used to decrypt.
15
15
16
16
17
- ### Ver 2 (v0002)
17
+ ## Ver 2 (v0002)
18
18
This document explains the specification of the FCEF file format Ver 2
19
19
20
20
The FCEF format contain(s)
@@ -25,18 +25,18 @@ The FCEF format contain(s)
25
25
** These will be called tags hereafter**
26
26
** The tag size(excluding Encrypted data) of FCEF Ver2 is 22 bytes**
27
27
28
- #### Version number
28
+ ### Version number
29
29
A FCEF file generated with FileCrypt writes the encryption version that it used to encrypt the file ** from 0x0 to 0x5** .
30
30
It's used to check whether the FCEF file can be decrypted using the current version of the software.
31
31
Every version after Ver 1 will contain this tag.
32
32
** Note: the last byte(0x5) of the version tag contains a line brake(` \n ` )**
33
33
** Note: the version number ranges from v0001 to v9999**
34
34
35
- #### Salt
35
+ ### Salt
36
36
A FCEF file generated with FileCrypt writes the salt generated using ` rand.Read(salt) ` ** from 0x6 to 0x15**
37
37
It's used while decrypting to regenerate the argon2 hash from the password.
38
38
39
- #### Encrypted data
39
+ ### Encrypted data
40
40
A FCEF file generated with FileCrypt writes the nonce and encrypted data ** after 0x15** .
41
41
This tag contains the actual data that is used to decrypt.
42
42
0 commit comments