Your SlideShare is downloading. ×
  • Like
The rail fence
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply
Published

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
47
On SlideShare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. What is this line doing?What are the two 26s for?
  • 2. This is where we use the ApplyShifttoASCIICodeForCharacter functionTo get the encrypted text.How do we decrypt?
  • 3. The “rail fence”T t a Jh i h r M oi s e m r ns y e sSize = 4
  • 4. The “rail fence”T t a Jh i h r M oi s e m r ns y e sSize = 4
  • 5. The “rail fence”ThisisthearmyMrJonesSize = 4
  • 6. The “rail fence”T t a Jh i h r M oi s e m r ns y esSize = 4
  • 7. How the algorithm works2 CountersT t a Jh i h r M oi s e m r ns y e sCounter one starts at the beginning and loops once onlyCounter two starts at counter one and loops to the end
  • 8. T t a Jh i h r M oi s e m r ns y e s
  • 9. T t a Jh i h r M oi s e m r ns y esFor Count1 = 1 To SizeOfRailFenceWhile Count2 < OriginalText.LengthCount2 = Count2 + SizeOfRailFence