Commit f8fc9ca1 authored by SHIVAM SOOD's avatar SHIVAM SOOD

Complete

parent 59e24a4c
......@@ -18,4 +18,7 @@ hexdump decryptext.txt
To get 54B from plain.bmp and remaining bytes after 54 from cipher.bmp and concatenate it to new.bmp
"head -c 54 plain.bmp > header" ; "tail -c +55 cipher.bmp > body" ; "cat header body > new.bmp"
Run this (After editing):
openssl enc -aes-128-cfb -e -in original.bmp -out original-aes-128-cfb.bin -K 00112233445566778889aabbccddeeff -iv 0102030405060708; head -c 54 original.bmp > header; tail -c +55 original-aes-128-cfb.bin > body ; cat header body > new-cfb.bmp
\ No newline at end of file
openssl enc -aes-128-cfb -e -in original.bmp -out original-aes-128-cfb.bin -K 00112233445566778889aabbccddeeff -iv 0102030405060708; head -c 54 original.bmp > header; tail -c +55 original-aes-128-cfb.bin > body ; cat header body > new-cfb.bmp
man dgst
openssl dgst -h
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment