Answer:
Written in Python
filenm = input("File name: ")
myfile = open(filenm+".txt")
for i in range(10):
line = myfile.readline()
print(line)
print("End of file")
Explanation:
This line prompts user for file name
filenm = input("File name: ")
This line creates an instance of the file
myfile = open(filenm+".txt")
This line iterates through the 10 lines
for i in range(10):
This line reads the line
line = myfile.readline()
This line prints each line
print(line)
This line prints a message indicating that all possible lines have been printed
print("End of file")
Stafford Leak Warren (July 19, 1896 - July 26, 1981) was an American physician and ... He was responsible<span> for the health and safety of the thousands of personnel ... The medical school had opened in 1925 and did not </span>graduate<span> its first class ... Brigadier</span>General<span> Leslie R. Groves, the director of the Manhattan </span>Project<span> </span>
Answer:
Snapseed, Lightroom, Adobe Photoshop, Prisma, Bazaart, Photofox, VSCO and PicsArt.
Explanation:
Snapseed, Lightroom, Adobe Photoshop, Prisma, Bazaart, Photofox, VSCO and PicsArt are the best editing apps. Some of the apps are present as free while some of them are not available without paying money for it. These are the top best editing apps so you can use it anyone of it. Snapseed is free on iOS and Android whereas Lightroom needs $5 per month for full access. Adobe Photoshop is also free on iOS and Android.
Answer:
Encryption method security:-
- Encryption method representing each alphabetic character as an integer between 0 and 25.
- Now, apply RSA algorithm for each integer is not an efficient secure encryption method.
Explanation:
- Let consider alphabetic characters set {A, B... Z} .
- Each alphabetic character forms a set of message block values M={0,1,2...,25).
- From encryption method the corresponding cipher text block value C = {0e mod n,1e mod n, 2e mod n,..., 25e mod n}.
- Then, compute the cipher text with knowledge of Bob's public key;
- If the public key is generated, then possibility to decrypt the cipher text to plain text.
- The generated public key is easily calculated by everyone and security is lost.
- Therefore, the encryption method is not secure.
Encryption method is not secure, Most efficient attack against this method:-
- Now, compute the encryption message with the function Me mod n for all the possible values of M.
- This is the most efficient attack against the scheme in encryption method.
- Then, create a look-up table with cipher text as an index to the corresponding plain text as a value for appropriate location in the table.