def decrypt(key,message): # set rows (message length divided by key, rounded up) # set columns (same as key) pointer = 0 decrypted = '' # create a 2D array as a table table = [[''] * cols for i in range(rows)] # for each column in the table # for each row in the table # if we haven't hit the end of the message yet # fill each element with the next character in the message # if we have hit the end of the message # break # for each row in the table # for each column in the table # add the character to the decrypted message return decrypted
Thanks a lot for the video. I have a question regarding passing password as input to python script. I have used getpass to get input...is there any other options to make it more secure?
The way you explianed help me understand it, if possible could you do the dicription part too?
Thanks man. Helps a lot in understanding loops in Python.
Tu vídeo me ayudó muchísimo 🎉
Great video
How to decrypt this encrypted word?
def decrypt(key,message):
# set rows (message length divided by key, rounded up)
# set columns (same as key)
pointer = 0
decrypted = ''
# create a 2D array as a table
table = [[''] * cols for i in range(rows)]
# for each column in the table
# for each row in the table
# if we haven't hit the end of the message yet
# fill each element with the next character in the message
# if we have hit the end of the message
# break
# for each row in the table
# for each column in the table
# add the character to the decrypted message
return decrypted
Thank you so much ❤️💫
How to decrypt the encrypted word?
Helped me sooo much thank you
Thanks a lot for the video.
I have a question regarding passing password as input to python script.
I have used getpass to get input...is there any other options to make it more secure?
this would be the perfect video if it had decryption in it aswell a shame
good
How to decrypt it?