Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cs742-resources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SHIVAM SOOD
cs742-resources
Commits
f8fc9ca1
Commit
f8fc9ca1
authored
Sep 14, 2019
by
SHIVAM SOOD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complete
parent
59e24a4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
resources
resources
+4
-1
No files found.
resources
View file @
f8fc9ca1
...
@@ -18,4 +18,7 @@ hexdump decryptext.txt
...
@@ -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
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"
"head -c 54 plain.bmp > header" ; "tail -c +55 cipher.bmp > body" ; "cat header body > new.bmp"
Run this (After editing):
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
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
man dgst
openssl dgst -h
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment