Python Forum
No idea how to use the Caesar Cypher in my code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No idea how to use the Caesar Cypher in my code
#2
You already have the function written so use it like any other function:

# Function signature is passwordEncrypt(unencryptMessage,key) based on your post
cyphered = passwordEncrypt(passwords[0][1], key)
Now, the code above does not include the key so I just entered "key" as the argument. Calling print() as an argument in your function call will cause problems. print() is only used to send information to standard out, your console.
Reply


Messages In This Thread
RE: No idea how to use the Caesar Cypher in my code - by stullis - Oct-08-2019, 01:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cipher Caesar Azilkhan 1 2,173 Nov-21-2019, 03:40 PM
Last Post: ichabod801
  Caesar cipher Drone4four 19 10,898 Nov-11-2018, 04:07 AM
Last Post: nilamo
  Vigenere and Caesar Cipher sammy2938 1 5,762 Jul-29-2017, 01:32 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020