Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/workspace/pset2/ $ ./vigenere abc
- Enter the text you'd like to encrypt: secret
- keyword is: abc, plaintext is: secret
- plaintext[i] before shift is: s
- shift is: 0, and plaintext[i] is: s
- plaintext[i] before shift is: s
- shift is: 1, and plaintext[i] is: t
- plaintext[i] before shift is: t
- shift is: 2, and plaintext[i] is: v
- plaintext[i] before shift is: e
- shift is: 0, and plaintext[i] is: e
- plaintext[i] before shift is: e
- shift is: 1, and plaintext[i] is: f
- plaintext[i] before shift is: f
- shift is: 2, and plaintext[i] is: h
- plaintext[i] before shift is: c
- shift is: 0, and plaintext[i] is: c
- plaintext[i] before shift is: c
- shift is: 1, and plaintext[i] is: d
- plaintext[i] before shift is: d
- shift is: 2, and plaintext[i] is: f
- plaintext[i] before shift is: r
- shift is: 0, and plaintext[i] is: r
- plaintext[i] before shift is: r
- shift is: 1, and plaintext[i] is: s
- plaintext[i] before shift is: s
- shift is: 2, and plaintext[i] is: u
- plaintext[i] before shift is: e
- shift is: 0, and plaintext[i] is: e
- plaintext[i] before shift is: e
- shift is: 1, and plaintext[i] is: f
- plaintext[i] before shift is: f
- shift is: 2, and plaintext[i] is: h
- plaintext[i] before shift is: t
- shift is: 0, and plaintext[i] is: t
- plaintext[i] before shift is: t
- shift is: 1, and plaintext[i] is: u
- plaintext[i] before shift is: u
- shift is: 2, and plaintext[i] is: w
- encrypted text is: vhfuhw
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement