|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
One-time-pad question
I found this question on an exam past paper and couldn't think of a justified solution.
A message is double encrypted by using the one time pad twice with two keys k1 and k2. Show that this procedure is no more secure than using a single encryption and calculate the key k3 that this double encryption corresponds to. Any ideas?? |
|
#2
|
||||
|
||||
|
A one-time pad is perfectly secure (entropy-wise, that is, which is what you're discussing). There will be no discernible pattern after the OTP has been applied, so applying anything else, including another OTP, will be useless.
Assuming you apply your OTP via XOR (which is the standard), the k3 you seek will be equal to k1 XOR k2.
__________________
- "Cryptographically secure linear feedback shift register based stream ciphers" -- a phrase that'll get any party started. - Why know the ordinary when you can understand the extraordinary? - Sponsor my caffeine addiction! (36.70 USD recieved so far -- Latest donor: Mark Foxvog) |
![]() |
| Viewing: Dev Shed Forums > System Administration > Security and Cryptography > One-time-pad question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|