Answer:
Symmetric, asymmetric and one-way hash cryptography.
Explanation:
Cryptography is a way of protecting data information and communication, using encryption keys and is only decrypted when it gets to the intended receiver.
There are three ways of which cryptography can be used to protect data. They are;
1. Symmetric cryptography
2. Asymmetric cryptography
3. One-way hash cryptography
Symmetric cryptography requires for one key to be used to encrypt and decrypt information. Asymmetric cryptography requires two keys, private and public keys that are mathematically related to encrypt and decrypt information. Both must be used together to encrypt and decrypt data.
One way hash uses an algorithm to convert a random length data to a fixed length encrypted data.
Answer:
is_even = 0
int_numbers = []
for n in range(4):
n = int(input('press any four integer numbers')
int_numbers.append(n)
for n in int_numbers:
if n%2==0:
print(n, 'integer is even')
is_even+= 1
else:
print(n, 'integer is odd')
print('Total even numbers =', is_even)
Explanation:
is_even = 0 (initiates a counter to record the number of even integers).
int_numbers creates a list to store the inputs entered by the user.
int(input()) : allows users to enter an integer number
int_numbers.append(n) : adds user input to list list variable created.
n%==2 : checks if entered digit leaves a remainder of 0 when divided by 2; hence an even number
is_even+= 1: counter updates by 1 for every even number confirmed.
Try doing research before actually starting so you have more knowledge about what to do