Skip to main content

Posts

Showing posts from June 4, 2021

sWAP cASE

  sWAP cASE: You are given a string and your task is to  swap cases . In other words, convert all lowercase letters to uppercase letters and vice versa. For Example: Www.HackerRank.com → wWW.hACKERrANK.COM Pythonist 2 → pYTHONIST 2 Function Description Complete the  swap_case  function in the editor below. swap_case  has the following parameters: string s:  the string to modify Returns string:  the modified string Input Format A single line containing a string  . Sample Input 0 HackerRank.com presents "Pythonist 2". Sample Output 0 hACKERrANK.COM PRESENTS "pYTHONIST 2". def   swap_case ( s ):      result =  s . swapcase ()      return ( result ) if  __ name__  ==  '__main__' :      s  =  input ()      result  =  swap_case ( s )      print ( result )

What is Cryptography?

  What is Cryptography? Cryptography is protecting the confidentiality and integrity of the information without being vulnerable to attackers or threats. It is an encryption technique when ensures the data is only visible to the sender and recipient and no middle man can steal the data and snoop for information. There are three most common types of cryptographic techniques in general. They are – Symmetric key cryptography   – Here the sender and receiver share a similar key and it can be used for both encryption and decryption. Hash functions  – There is no key used, rather a hash value is used to encrypt text, contents, and passwords. Public key cryptography   – In this two different keys such as a public key for encryption and a private key for decryption is used. Only the private key is kept as secret. Encryption Tools and Techniques: There are few tools available for encryption technique. They include – Triple DES – Replaces Data encryption standard(DES) algorithm, uses 3 individu

Secret Hack Codes for Android Mobile Phones

  Secret Hack Codes for Android Mobile Phones :- Hello friends! Today I will share several  secret hack codes   for Android  Mobile Phones . These   A ndroid codes   will help you   hack android mobiles  in order to explore your phone’s capabilities. Secret hack codes are usually hidden from users to prevent misuse and exploitation. Android is a very new platform so there aren’t many  hack codes for Androids  available. Today I will share all of the  hack codes of Android cellphones  that I know. I have tested these codes on my Samsung Galaxy with the Android OS version 2.2. I am sure these will work on all previous versions. Secret Hack Codes for Android Mobile Phones: 1. Complete Information About Your Phone   *#*#4636#*#*  This code can be used to get some interesting information about your phone and battery. It shows the following 4 menus on the screen: Phone information Battery information (How to maximize or boost battery life in android phones) Battery history Usage statistics 2