PKCS#7 pads input text at the trailing end with k – (l mod k) octets all having value k – (l mod k), where l is the length of the input and k is the block length.

Design a scheme to alter cipher text so that when decryption occurs the padding is left behind (hint: you may increase the length of the cipher text).

Submit:

1. Describe your scheme.

2. Show the padding for a 20-byte plain text file. Insert a screenshot showing the padding from a hex editor.

3. How many bytes of padding are added for a 32-byte file?

4. Show the padding for a 32-byte plain text file. Insert a screenshot showing the padding from a hex editr.

 

NEED ASSIGNMENT HELP?

We guarantee plagiarism-free and AI-free writing services. Every assignment is crafted with originality, precision, and care to meet your academic needs.

Ready to get started? Place your order directly on this post!

Let us help you achieve excellence—authentic work, every time.


Leave a Reply

Your email address will not be published. Required fields are marked *