SlideShare a Scribd company logo
1 of 4
Step 1. Code for encryption of a message using a key.
Step 2. Code for decryption of a message using a key.
● A Read-Eval-Print Loop, or REPL, is a computer environment where user inputs are read and evaluated, and
then the results are returned to the user. REPLs provide an interactive environment to explore tools available
in specific environments or programming languages.
Step 3. Creating a telegram bot and Repl.
● Telegram bot is created using BotFather
⮚ These are the commands used to handle the bot.
⮚ REPL keeps the code to run continuously for five minutes... After that we use UptimeRobot to ping the REPL. Then again
repl stats running.
⮚ UptimeRobot is a free software used to ping the repl. It pings the repl at every 1min interval. So that code runs infinitely.
Telegram bot named as “TestBot”
● When we search for the TestBot, we can see the bot as shown in the left picture.
● After we start the bot, it sends us some information about what it can do.
● If we ask for /help, it helps us to know how to use the bot.
● Then if we send any text, it encryptes and send the encrypted text.
● Then if we forward the same encrypted message to the bot, it decrypts the message and sends
the original message.
● Encrypted message will be in hexadecimal format.
● We should periodically change the key and seed values to avoid any hacking of the system.
Thank You

More Related Content

Similar to python ppt.pptx

Computer assignment for grade 9
Computer assignment for grade  9Computer assignment for grade  9
Computer assignment for grade 9
nahomyitbarek
 
Tw2010slide2
Tw2010slide2Tw2010slide2
Tw2010slide2
s1150036
 
Language processing system.pdf
Language processing system.pdfLanguage processing system.pdf
Language processing system.pdf
RakibRahman19
 
Computer and Programming
Computer and Programming Computer and Programming
Computer and Programming
Mahsa Ch
 
Introduction to robotics part 1 (Lego NXT
Introduction to robotics part 1 (Lego NXTIntroduction to robotics part 1 (Lego NXT
Introduction to robotics part 1 (Lego NXT
Wayne Hamilton
 

Similar to python ppt.pptx (20)

Turing machine Introduction
Turing machine IntroductionTuring machine Introduction
Turing machine Introduction
 
Computer assignment for grade 9
Computer assignment for grade  9Computer assignment for grade  9
Computer assignment for grade 9
 
1.Basic_Syntax
1.Basic_Syntax1.Basic_Syntax
1.Basic_Syntax
 
Python basic syntax
Python basic syntaxPython basic syntax
Python basic syntax
 
What is chat gpt
What is chat gptWhat is chat gpt
What is chat gpt
 
Tips for Happier Python Debugging
Tips for Happier Python DebuggingTips for Happier Python Debugging
Tips for Happier Python Debugging
 
Python programming
Python programmingPython programming
Python programming
 
python-ppt.ppt
python-ppt.pptpython-ppt.ppt
python-ppt.ppt
 
python-ppt.ppt
python-ppt.pptpython-ppt.ppt
python-ppt.ppt
 
Review Python
Review PythonReview Python
Review Python
 
An introduction to erlang
An introduction to erlangAn introduction to erlang
An introduction to erlang
 
Tw2010slide2
Tw2010slide2Tw2010slide2
Tw2010slide2
 
PsudoCode.pptx
PsudoCode.pptxPsudoCode.pptx
PsudoCode.pptx
 
Welcome_to_Python.pptx
Welcome_to_Python.pptxWelcome_to_Python.pptx
Welcome_to_Python.pptx
 
Language processing system.pdf
Language processing system.pdfLanguage processing system.pdf
Language processing system.pdf
 
GE3151 UNIT II Study material .pdf
GE3151 UNIT II Study material .pdfGE3151 UNIT II Study material .pdf
GE3151 UNIT II Study material .pdf
 
Mastering Python lesson 3a
Mastering Python lesson 3aMastering Python lesson 3a
Mastering Python lesson 3a
 
How to Rock with Robots for Young Makers with mBlock? (Teaching Material)
How to Rock with Robots for Young Makers with mBlock? (Teaching Material)How to Rock with Robots for Young Makers with mBlock? (Teaching Material)
How to Rock with Robots for Young Makers with mBlock? (Teaching Material)
 
Computer and Programming
Computer and Programming Computer and Programming
Computer and Programming
 
Introduction to robotics part 1 (Lego NXT
Introduction to robotics part 1 (Lego NXTIntroduction to robotics part 1 (Lego NXT
Introduction to robotics part 1 (Lego NXT
 

Recently uploaded

一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
awasv46j
 
9352852248 Call Girls Naroda Escort Service Available 24×7 In Naroda
9352852248 Call Girls  Naroda Escort Service Available 24×7 In Naroda9352852248 Call Girls  Naroda Escort Service Available 24×7 In Naroda
9352852248 Call Girls Naroda Escort Service Available 24×7 In Naroda
gargpaaro
 
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
CristineGraceAcuyan
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Website
mark11275
 
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
wpkuukw
 
Salkhia @ Cheap Call Girls In Kolkata | Book 8005736733 Extreme Naughty Call ...
Salkhia @ Cheap Call Girls In Kolkata | Book 8005736733 Extreme Naughty Call ...Salkhia @ Cheap Call Girls In Kolkata | Book 8005736733 Extreme Naughty Call ...
Salkhia @ Cheap Call Girls In Kolkata | Book 8005736733 Extreme Naughty Call ...
HyderabadDolls
 
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Nitya salvi
 
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
gajnagarg
 
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadh
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in RiyadhIn Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadh
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadh
ahmedjiabur940
 
Eden Gardens ^ best call girls in Kolkata ₹7.5k Pick Up & Drop With Cash Paym...
Eden Gardens ^ best call girls in Kolkata ₹7.5k Pick Up & Drop With Cash Paym...Eden Gardens ^ best call girls in Kolkata ₹7.5k Pick Up & Drop With Cash Paym...
Eden Gardens ^ best call girls in Kolkata ₹7.5k Pick Up & Drop With Cash Paym...
HyderabadDolls
 

Recently uploaded (20)

一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
 
9352852248 Call Girls Naroda Escort Service Available 24×7 In Naroda
9352852248 Call Girls  Naroda Escort Service Available 24×7 In Naroda9352852248 Call Girls  Naroda Escort Service Available 24×7 In Naroda
9352852248 Call Girls Naroda Escort Service Available 24×7 In Naroda
 
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Website
 
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best ServiceHigh Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
 
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
 
Gamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad IbrahimGamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad Ibrahim
 
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime PondicherryPondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
 
Sweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxSweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptx
 
👉 Itanagar Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Itanagar Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...👉 Itanagar Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Itanagar Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
 
Nishatganj ? Book Call Girls in Lucknow | Book 9548273370 Extreme Naughty Cal...
Nishatganj ? Book Call Girls in Lucknow | Book 9548273370 Extreme Naughty Cal...Nishatganj ? Book Call Girls in Lucknow | Book 9548273370 Extreme Naughty Cal...
Nishatganj ? Book Call Girls in Lucknow | Book 9548273370 Extreme Naughty Cal...
 
Kondapur ] High Profile Call Girls in Hyderabad (Adult Only) 9352988975 Escor...
Kondapur ] High Profile Call Girls in Hyderabad (Adult Only) 9352988975 Escor...Kondapur ] High Profile Call Girls in Hyderabad (Adult Only) 9352988975 Escor...
Kondapur ] High Profile Call Girls in Hyderabad (Adult Only) 9352988975 Escor...
 
Salkhia @ Cheap Call Girls In Kolkata | Book 8005736733 Extreme Naughty Call ...
Salkhia @ Cheap Call Girls In Kolkata | Book 8005736733 Extreme Naughty Call ...Salkhia @ Cheap Call Girls In Kolkata | Book 8005736733 Extreme Naughty Call ...
Salkhia @ Cheap Call Girls In Kolkata | Book 8005736733 Extreme Naughty Call ...
 
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
 
Radhanpur / Independent Call Girls Ahmedabad Phone No 8005736733 Elite Escort...
Radhanpur / Independent Call Girls Ahmedabad Phone No 8005736733 Elite Escort...Radhanpur / Independent Call Girls Ahmedabad Phone No 8005736733 Elite Escort...
Radhanpur / Independent Call Girls Ahmedabad Phone No 8005736733 Elite Escort...
 
Abu Dhabi Call girls Service0556255850 Call girls in Abu Dhabi
Abu Dhabi Call girls Service0556255850 Call girls in Abu DhabiAbu Dhabi Call girls Service0556255850 Call girls in Abu Dhabi
Abu Dhabi Call girls Service0556255850 Call girls in Abu Dhabi
 
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
 
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
 
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadh
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in RiyadhIn Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadh
In Saudi Arabia Jeddah (+918761049707)) Buy Abortion Pills For Sale in Riyadh
 
Eden Gardens ^ best call girls in Kolkata ₹7.5k Pick Up & Drop With Cash Paym...
Eden Gardens ^ best call girls in Kolkata ₹7.5k Pick Up & Drop With Cash Paym...Eden Gardens ^ best call girls in Kolkata ₹7.5k Pick Up & Drop With Cash Paym...
Eden Gardens ^ best call girls in Kolkata ₹7.5k Pick Up & Drop With Cash Paym...
 

python ppt.pptx

  • 1. Step 1. Code for encryption of a message using a key. Step 2. Code for decryption of a message using a key.
  • 2. ● A Read-Eval-Print Loop, or REPL, is a computer environment where user inputs are read and evaluated, and then the results are returned to the user. REPLs provide an interactive environment to explore tools available in specific environments or programming languages. Step 3. Creating a telegram bot and Repl. ● Telegram bot is created using BotFather
  • 3. ⮚ These are the commands used to handle the bot. ⮚ REPL keeps the code to run continuously for five minutes... After that we use UptimeRobot to ping the REPL. Then again repl stats running. ⮚ UptimeRobot is a free software used to ping the repl. It pings the repl at every 1min interval. So that code runs infinitely. Telegram bot named as “TestBot” ● When we search for the TestBot, we can see the bot as shown in the left picture. ● After we start the bot, it sends us some information about what it can do. ● If we ask for /help, it helps us to know how to use the bot. ● Then if we send any text, it encryptes and send the encrypted text.
  • 4. ● Then if we forward the same encrypted message to the bot, it decrypts the message and sends the original message. ● Encrypted message will be in hexadecimal format. ● We should periodically change the key and seed values to avoid any hacking of the system. Thank You