@@ -24,9 +24,10 @@ cleartextPayload := 0xFFFFFFFFFFFFFFFF . contentKey
2424ciphertextPayload, tag := aesGcm(cleartextPayload, encryptionMasterKey, headerNonce)
2525```
2626
27- <Image src="/img/security/file-header-encryption.png" srcset="/img/security/file-header-encryption.png 1x, /img/security/file-
[email protected] 2x" alt="File Header Encryption" width="433" height="199" style={{backgroundColor: '#ffffff', borderRadius: 'var(--ifm-global-radius)', padding: 'var(--ifm-pre-padding)', boxSizing: 'content-box'}} />
28-
29- * Random per file change
27+ <WhiteBox >
28+ <
Image src =
" /img/security/file-header-encryption.png " srcset =
" /img/security/file-header-encryption.png 1x, /img/security/[email protected] 2x " alt =
" File Header Encryption " width =
" 433 " height =
" 199 " />
29+ <WhiteBoxCaption >* Random per file change</WhiteBoxCaption >
30+ </WhiteBox >
3031
3132## File Content Encryption {#file-content-encryption}
3233
@@ -54,9 +55,10 @@ for (int i = 0; i < length(cleartextChunks); i++) {
5455ciphertextFileContent := join(ciphertextChunks[])
5556```
5657
57- <Image src="/img/security/file-content-encryption.png" srcset="/img/security/file-content-encryption.png 1x, /img/security/file-
[email protected] 2x" alt="File Content Encryption" width="782" height="195" style={{backgroundColor: '#ffffff', borderRadius: 'var(--ifm-global-radius)', padding: 'var(--ifm-pre-padding)', boxSizing: 'content-box'}} />
58-
59- * Random per chunk change
58+ <WhiteBox >
59+ <
Image src =
" /img/security/file-content-encryption.png " srcset =
" /img/security/file-content-encryption.png 1x, /img/security/[email protected] 2x " alt =
" File Content Encryption " width =
" 782 " height =
" 195 " />
60+ <WhiteBoxCaption >* Random per chunk change</WhiteBoxCaption >
61+ </WhiteBox >
6062
6163## Directory IDs {#directory-ids}
6264
@@ -94,9 +96,10 @@ Cryptomator uses [AES-SIV](https://tools.ietf.org/html/rfc5297) to encrypt names
9496The directory ID of the parent folder is passed as associated data.
9597This prevents undetected movement of files between directories.
9698
97- <Image src="/img/security/filename-encryption.png" srcset="/img/security/filename-encryption.png 1x, /img/security/filename-
[email protected] 2x" alt="Filename Encryption" width="614" height="220" style={{backgroundColor: '#ffffff', borderRadius: 'var(--ifm-global-radius)', padding: 'var(--ifm-pre-padding)', boxSizing: 'content-box'}} />
98-
99- * Unencrypted directory ID of the parent dir [ as described above] ( #directory-ids )
99+ <WhiteBox >
100+ <
Image src =
" /img/security/filename-encryption.png " srcset =
" /img/security/filename-encryption.png 1x, /img/security/[email protected] 2x " alt =
" Filename Encryption " width =
" 614 " height =
" 220 " />
101+ <WhiteBoxCaption >* Unencrypted directory ID of the parent dir [ as described above] ( #directory-ids ) </WhiteBoxCaption >
102+ </WhiteBox >
100103
101104```
102105ciphertextName := base64url(aesSiv(cleartextName, parentDirId, encryptionMasterKey, macMasterKey)) + '.c9r'
0 commit comments