Name:______________________________ Alpha:________________________________
| private key | public key | |
| data confidentiality | ||
| data integerity |
In a private key encryption scheme, Alice and Bob should share the same key before exchanging encrypted messages with each other.
a3890567e9cb50d0754627The OTP scheme with the following key was used to create this encryption.
ebec690b86eb07bf072a43What is the message? (You may want to write a simple script for this).
message: b'IT430 Rocks!'
ciphertext: b'\xbeM\x90\x9c{}a/OVW\x93'
In fact, the message and the ciphertext have the same length -- 12 bytes long.
Why does the ciphertext look longer?
message: b'IT430 Rocks!'
ciphertext: b'\xbeM\x90\x9c{}a/OVW\x93'
Crack the following ciphertext. What is the message for this ciphertext?
ciphertext: b'\xb0v\x84\xe1*+Ja\r\x1c\x05\x93'
message: