diff --git a/Protected notes.md b/Protected-notes.md similarity index 94% rename from Protected notes.md rename to Protected-notes.md index 5914a05..4ed53e8 100644 --- a/Protected notes.md +++ b/Protected-notes.md @@ -44,4 +44,4 @@ Not encrypted: * data encryption key is encrypted with [AES-128](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard) with random [IV](https://en.wikipedia.org/wiki/Initialization_vector) * data encryption key is random key generated at the time of [[document|Document]] initialization and is constant over the lifetime of the document. If we change password, we re-encrypt only this key. 5. We use data encryption key to decrypt actual data - note title and content. - * encryption used is again AES-128 with [CBC chaining](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation). IV is primary key (noteId for notes and noteHistoryId for history items) \ No newline at end of file + * encryption used is again AES-128 with [CBC chaining](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation). Unique IV is generated with every encryption operation and stored together with the cipher text. \ No newline at end of file