mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 01:17:36 +00:00
Update padding-oracle-priv.md
This commit is contained in:
parent
86372ded82
commit
1d71e90dbd
1 changed files with 2 additions and 2 deletions
|
@ -4,11 +4,11 @@
|
|||
|
||||
In CBC mode the **previous encrypted block is used as IV **to XOR with the next block:
|
||||
|
||||
![CBC encryption](https://assets.pentesterlab.com/padding_oracle/CBC_encryption.png)
|
||||
![CBC encryption](https://defuse.ca/images/cbc_encryption.png)
|
||||
|
||||
To decrypt CBC the **opposite** **operations** are done:
|
||||
|
||||
![CBC decryption](https://assets.pentesterlab.com/padding_oracle/CBC_decryption.png)
|
||||
![CBC decryption](https://defuse.ca/images/cbc_decryption.png)
|
||||
|
||||
Notice how it's needed to use an **encryption** **key** and an **IV**.
|
||||
|
||||
|
|
Loading…
Reference in a new issue