Cryptography has requirements include:

A. easy to compute and not invertible
B. tamper-resistant
C. collision-resistant
D. All the above

Answers

Answer 1

Answer:A i think

Explanation:


Related Questions

Hash functions use algorithms use a big chunk of data and squeeze it into a small amount to verify something like a file or an application.

A. True
B. False

Answers

Answer:

A. True

Explanation:

Identifying and verifying files/applications is one use of hash functions.

Create a two functions: first called grocery_cost(food), where food can be one item or a list of items from the stock and price dictionaries, the second is called stock_check(stock_list) where a store manager can check if stock numbers are at a minimum value.grocery_cost: loops through the argument food, notes the price, checks the stock, calculates and prints the total cost and changes the stock number. You will need to use a for statement to loop through the items in food and an if statement to check and update the stock (substract one from the stock for each item in the stock).Stock_check: loops through each item in the stock dictionary and uses an if-statement to print a statement if stock is less than 5.Given:stock_key={'tomato soup':20,'cheese':10,'milk':25,'oreos':100,'red bull':0,'apples':17,'oranges':4}price_key={'tomato soup':1.85,'cheese':3.99,'milk':4,'oreos':7.49,'red bull':0.99,'apples':0.59,'oranges':1.29}

Answers

Answer:

stock_key={'tomato soup':20,'cheese':10,'milk':25,'oreos':100,'red bull':0,'apples':17,'oranges':4}

price_key={'tomato soup':1.85,'cheese':3.99,'milk':4,'oreos':7.49,'red bull':0.99,'apples':0.59,'oranges':1.29}

def grocery_cost(*args):

   total_cost = 0

   for arg in args:

       if arg in stock_key.keys():

           stock_key[arg] -= 1

           total_cost += price_key[arg]

   print( f"Total cost of groceries: {total_cost}")

def stock_check():

   for key, value in stock_key.items():

       if value < 5:

          print(f"The stock \"{key}\" is less than 5.")

grocery_cost('apples', 'oranges','milk', 'oreos','cheese')

stock_check()

Explanation:

The functions of grocery_cost and stock_check are python defined functions. The former accepts a list of one or more items and calculates the total cost of the grocery items from the stock and price dictionary while the latter check the size of the stock in the food store.

What is the output of the following program?
numA = 2
while numA < 30:
numA = numA * 5
print(numA)

Answers

Answer:

the output of that code would be invalid syntax since the line,

>>> numA = numA * 5

is not indented.

The output of

>>> numA = 2

>>> while numA < 30:

>>> numA = numA * 5

>>> print(numA)

would be 50.

The output of the following program is 10. This is because it is represented in the program that the value of numA would be less than 30.

What is the significance of the output of the program?

The significance of the output of the program is understood by the fact that it delivers some values or concepts to the user with respect to the instruction he/she is given to the computer for processing. The output of the program is very specific in nature.

According to the context of this question,

Input: numA = 2

         while numA < 30:

         numA = numA * 5

         print(numA)

Output: numA = 2 × 5 = 10 which is lesser than 30.

Therefore, the output of the following program is 10. This is because it is represented in the program that the value of numA would be less than 30.

To learn more about Output of a program, refer to the link:

https://brainly.com/question/18079696

#SPJ2

*. How can overcome digital divide?​

Answers

Answer:

Below are solutions that can help narrow the digital divide gap.

1) Increase affordability.

2) Empowering users.

3) Improve the relevance of online content.

4) Internet infrastructure development.

5) Address gender gap in internet access.

Conclusion

In summary, the problem of the digital divide is just a symptom that points us to a much deeper problem in our economic development. And this is a problem that characterizes both the developed and underdeveloped nations in the world. Once the economic challenges of low education levels, poor infrastructure development, and low quality of life/ income levels are addressed, the digital divide will be eliminated.

Three points come to my mind to overcome the digital divide. Below are the points.

Give students as well as families access to consider taking advanced technology.Continue to have access for participants thru all the community organizations.Enhance employees' or improve students' access to technology, and even the performance of these same direct connections, throughout their inclusive classrooms.

Thus the response is correct.

Learn more:

https://brainly.com/question/12658571

How is hashing used?

A. used to protect the transmission of software and large files to be downloaded
B. used for authentication, digital signatures, and message authentication codes
C. ecommerce protocols and bitcoin generation
D. all the above

Answers

Answer: Its A. used to protect the transmission of software and large files to be downloaded

Explanation: Hashing is an algorithm that calculates a fixed-size bit string value from a file. A file basically contains blocks of data. Hashing transforms this data into a far shorter fixed-length value or key which represents the original string. The hash value can be considered the distilled summary of everything within that file. A good hashing algorithm would exhibit a property called the avalanche effect, where the resulting hash output would change significantly or entirely even when a single bit o...

What are some good netflix shows

Answers

Answer: Here’s a few to try

- Riverdale

- Outer Banks

-Stranger Things

-The Ranch

-The Bodyguard

Answer:

Ok ok here we go-

Haikyuu (its sooooo good u might not have it tho)

Mako-mermaids (lol)

Schitts Creek

And Stranger things

Explanation:

Which option is the correct format of placing HTML tags while coding in HTML?
A.

B.

C.

D.

Answers

Answer:

Where are the format to select please? It shows just empty A,B,C,D

Answer:

<ul><li><li><ul>

Explanation:

trust me

PLS HURRY!!
Look at the image below

Answers

The output will be 10.

The while loop runs until numb is equal to or less than 13.

25 - 5 = 20

20 - 5 = 15

15 - 5 = 10, which is less than 13 so the loop stops and 10 is printed to the screen.  

Which of the following is a basic slide size?
Choose all answers that are correct.
A) 4:3 aspect ratio, which is suitable for standard-definition TVs and monitors
B) 2:1 aspect ratio, which is suitable for projecting onto a screen
C)5.6 aspect ratio, which is suitable for Presentation view
D)16:9 aspect ratio, which is suitable for high-definition TVs and widescreen
monitors

Answers

Answer:

D)16:9 aspect ratio, which is suitable for high-definition TVs and widescreen

monitors

Explanation:  

This is the default size set by powerpoint for this reason

A basic slide size is 16:9 aspect ratio, which is suitable for high-definition TVs and widescreen monitors.

What is widescreen monitor ?

The majority of modern high-definition computer displays and televisions use the widescreen 16:9 aspect ratio. The sides are represented by the "9," while the top and bottom are represented by the "16." The ratio of a monitor's or TV's width to height is indicated by the numbers separated by a comma.

The majority of widescreen displays their material using the just-adopted 16:9 aspect ratio. All the movies, and video games you watch or play will be in HD unless the content you're watching was made in a 4:3 aspect ratio.

According to research, utilizing several screens or enlarging monitors makes them far more painful for the eyes.

Thus, option D is correct.

To learn more about widescreen monitor, follow the link;

https://brainly.com/question/14326406

#SPJ5

HELLLLPPPPPP Jerry needs to move his Turtle forward 25 pixels. Which line of code should Jerry use?

tom(25)
tom.forward(25)
tom.turtle(25)
tom.right(twenty-five)

Answers

If your turtle is defined and you named the variable tom, the code would be:

tom.forward(25)

Jerry should use the line of code tom.forward(25) to move his Turtle forward 25 pixels. The correct option is 2.

What is coding?

The process of designing, writing, testing, and maintaining the source code of software programmes, websites, and other computer applications is referred to as coding.

Because the forward() method is used to move the turtle forward by a specified number of pixels or units, the line of code tom.forward(25) should be used to move the turtle forward by 25 pixels.

The turtle object is named Tom in this case, and the method forward() is called on it with the argument 25, indicating that the turtle should move forward 25 pixels.

Thus, the correct option is 2.

For more details regarding coding, visit:

https://brainly.com/question/17204194

#SPJ2

i need help with computer science
im on Write Password Evaluator

Answers

Answer: Password Evaluator is designed to examine passwords and tentative passwords to look for dictionary words and patterns that a password cracking tool might exploit. It looks for reversed, rotated, keyboard shifted, truncated, dropped letters, substituted characters and other variations on dictionary words both singly and in many combinations.

Explanation:

Which data type is –7?

int

single

string

float

Answers

Answer:

Int

Explanation:

Good Luck!

Jenna is applying for a job as a high school teacher. Which information should Jenna not put on her résumé?

A) Education
B) Age
C)Skills
D)Email Adress

Answers

Answer:

I would say D or B

Explanation:

they need to know her education and they need to know her skills, so B or D is the reasonable answer.

C ) Education is the answer

RTOS stands for ______ Time Operating System.

Answers

Answer:

Real Time Operation System

Explanation:

What is 7/12 simplified?

Answers

Answer:

7 12

Explanation:

WILL GIVE BRAINLIEST
Achieving intended results ends _____

A the testing cycle.
B the compiling process.
C the stepping function.
D the writing of program code.

Answers

Answer:

c

Explanation:

c

I agree it is C. I hoped this helped!!! Happy Thanksgiving!!!!!

Who is the prince of math?

Answers

Answer:

Johann Carl Friedrich Gauss

Explanation:

Johann Carl Friedrich Gauss

Lighting matters less in landscapes than in other types of photographs.
A.
True
B.
False

Answers

Answer:

A

Explanation:

that is the correct ans

select the correct word to complete the sentence

First developed by grace hopper a ____ is a computer program that translates higher level programming languages into machine code

A assembly language

B COBOL

C digital circuit

D compiler

pls help quick or i am screwd cause i was not paying attention to my class ​

Answers

Answer:

Answer is B.

Explanation:

First developed by grace hopper a COBOL is a computer program that translates higher-level programming languages into machine code. The correct option is B.

What is a COBOL?

COBOL (Common Business-Oriented Language) is a high-level business programming language. It was the first popular language to be intended to be operating system-independent, and it is still used in many financial and commercial applications today.

First developed by grace hopper a COBOL is a computer program that translates higher-level programming languages into machine code.

Hence, the correct option is B.

Learn more about COBOL:

https://brainly.com/question/4584026

#SPJ2

Need help on Assignment 4: Evens and Odds

Answers

n = int(input("How many numbers do you need to check? "))

even = 0

odd = 0

for x in range(n):

   num = int(input("Enter number: "))

   if num % 2 == 0:

       even += 1

       print(str(num) + " is an even number.")

   else:

       odd += 1

       print(str(num) + " is an odd number.")

print("You entered " + str(even) + " even number(s).")

print("You entered " + str(odd) + " odd number(s).")

This works for me. Best of luck.

4. Assume you have a list of numbers
12,10,32,3,66,17,42,99,20
a) Write a loop that prints each of the numbers on a new line.
b) Write a loop that prints each number and its square on a new line.

Answers

lst = [12,10,32,3,66,17,42,99,20]

a)

for x in lst:

   print(x)

b)

for x in lst:

   print(str(x) + " " +str(x**2))

I think this is what you're looking for. Hope this helps!

Complete the sentence describing an email client.
An email client is a___
that runs on____

Answers

Answer:

Program, client

Explanation:

Not 100% sure on this but this is my best guess

You can use the ____ to change the order of the wat windows are stacked.

A). taskbar
B). Open bar
C). toolbar
D). Menu bar

Answers

Answer:

A

Explanation:

60 POINTS
IN JAVA

In this exercise, you will need to write a program that asks the user to enter different positive numbers.

After each number is entered, print out which number is the maximum and which number is the minimum of the numbers they have entered so far.

Stop asking for numbers when the user enters -1.

Possible output:

Enter a number (-1 to quit):
100
Smallest # so far: 100
Largest # so far: 100
Enter a number (-1 to quit):
4
Smallest # so far: 4
Largest # so far: 100
Enter a number (-1 to quit):
25
Smallest # so far: 4
Largest # so far: 100
Enter a number (-1 to quit):
1
Smallest # so far: 1
Largest # so far: 100
Enter a number (-1 to quit):
200
Smallest # so far: 1
Largest # so far: 200
Enter a number (-1 to quit):
-1

Answers

import java.util.Scanner;

public class JavaApplication75 {

   

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       int num = -2, largest = -1, smallest = -1;

       while (true){

           System.out.println("Enter a number (-1 to quit):");

           num = scan.nextInt();

           while (num < 0){

               if (num == -1){

                   System.exit(0);

               }

               num = scan.nextInt();

           }

           if (num > largest){

               largest = num;

           }

           if (num < smallest || smallest == -1){

               smallest = num;

           }

           System.out.println("Smallest # so far: "+smallest);

           System.out.println("Largest # so far: "+largest);

           

       }

   }

   

}

I hope this helps!

a surface
A wooden block of weight 12 N kept on a table having
area of 4m² Calculate the pressure exerted on the table.​

Answers

Answer:

3 Pa

Explanation:

pressure = force / area

A search for reliable information is a search for what?

Answers

Answer:

For information you can trust

Explanation:

The auto recover function in a word is available to especially if you experience powerful failure explain what happens to your document if you do it side to save or not to save the recovery file and how you can ensure the majority of your document is recovered

Answers

Answer:

When the document is not saved before the application is closed, The word application assumes that the file is not important, so does not save a recovery file, but to recover the file open the application and go to the recently opened file, do not edit the file, go to the bottom of the document and click on recovery or use the CTRL-Z shortcut key.

Explanation:

Microsoft word is a word processing application used to make and edit word documents. The recovery option in the word application is an essential tool in Word that prevents a permanent loss of documents in production and can be used to retrieve saved and unsaved documents.

what is the plan to make optimum usage of available spaces?

Answers

Answer:

dergragmentation or share to speed up procceces

Hi, can someone please help me with this? I've been having a lot of trouble with it.

The assignment

Your job in this assignment is to write a program that takes a message as a string and reduces the number of characters it uses in two different set ways. The first thing your program will do is ask the user to type a message which will be stored as a String. The String entered should be immediately converted to lowercase as this will make processing much easier. You will then apply two different algorithms to shorten the data contained within the String.

Algorithm 1

This algorithm creates a string from the message in which every vowel (a, e, i, o, and u) is removed unless the vowel is at the very start of a word (i.e., it is preceded by a space or is the first letter of the message). Every repeated non-vowel character is also removed from the new string (i.e., if a character appears several times in a row it should only appear once at that location). So for example the string "I will arrive in Mississippi really soon" becomes "i wl arv in mssp rly sn".

After applying this algorithm, your program should output the shortened message, the number of vowels removed, the number of repeated non-vowel characters removed, and how much shorter the shortened message is than the original message. The exact format in which the program should print this information is shown in the sample runs.

Algorithm 2

This algorithm creates a string by taking each unique character in the message in the order they first appear and putting that letter and the number of times it appears in the original message into the shortened string. Your algorithm should ignore any spaces in the message, and any characters which it has already put into the shortened string. For example, the string "I will arrive in Mississippi really soon" becomes "8i1w4l2a3r1v2e2n1m5s2p1y2o".

After applying this algorithm, your program should output the shortened message, the number of different characters appearing, and how much shorter the shortened message is than the original message. The exact format in which the program should print this information is shown in the sample runs.

Sample Run 1
Type the message to be shortened
This message could be a little shorter

Algorithm 1
Vowels removed: 11
Repeats removed: 2
Algorithm 1 message: ths msg cld b a ltl shrtr
Algorithm 1 characters saved: 13

Algorithm 2
Unique characters found: 15
Algorithm 2 message: 4t2h2i4s1m5e2a1g1c2o1u3l1d1b2r
Algorithm 2 characters saved: 8
Sample Run 2
Type the message to be shortened
I will arrive in Mississippi really soon

Algorithm 1
Vowels removed: 11
Repeats removed: 6
Algorithm 1 message: i wl arv in mssp rly sn
Algorithm 1 characters saved: 17

Algorithm 2
Unique characters found: 13
Algorithm 2 message: 8i1w4l2a3r1v2e2n1m5s2p1y2o
Algorithm 2 characters saved: 14
Milestones
As you work on this assignment, you can use the milestones below to inform your development process:

Milestone 1: Set up a program that takes a string input and converts all the letters to lowercase. Start implementing algorithm 1: create a counter variable and iterate through the characters of the String, incrementing this each time a vowel is encountered which is not preceded by a space or is at the start of the String. So at the end of the loop this counts the number of vowels that are not at the start of a word.

Milestone 2: Add further conditions (using else if) in your loop to count any non-vowel characters which appear immediately after the same character. Make a new empty String to hold the shortened message at the start of the code, then add a final else condition in the loop to add all characters which were not vowels or repeated letters to this String. Then print the statements for algorithm 1 using your counts and shortened message.

Milestone 3: Start implementing algorithm 2 by writing code that iterates through the String and checks that each character is not a space and has not already appeared in the word before that point. You will need to use nested loops - an outer loop to iterate through the String characters and an inner loop that looks through the previous characters up to that point - and a flag variable to record if a letter was found in the inner loop. Use a counter variable to count all such "unique" characters in the String.

Milestone 4: Add a second inner loop inside the outer loop from the previous which counts all appearances of a character that passes the tests from milestone 3. Add the character and the number of times it appears to another shortened message String (which should start as blank String). Finally, print the statements for algorithm 2 using your unique character count and shortened message.

Answers

Answer:

Scanner scan = new Scanner(System.in);

System.out.println("Type the message to be shortened");

String msg = scan.nextLine();

System.out.println();

msg = msg.toLowerCase();

String newStr = "";

System.out.println("Algorithm 1");

int vowels = 0;

int repeats = 0;

for(int i = 0; i < msg.length(); i++)

{

if((msg.substring(i, i +1).equals("a") || msg.substring(i, i+1).equals("e") || msg.substring(i, i +1).equals("i") || msg.substring(i, i+1).equals("o") || msg.substring(i, i +1).equals("u")))

{

if(i != 0 && !msg.substring(i -1, i).equals(" "))

{

vowels++;

}

else

newStr += msg.substring(i, i +1);

}

else if(i != 0 && msg.substring(i, i +1).equals(msg.substring(i -1, i)))

{

repeats++;

}

else

{

newStr += msg.substring(i, i +1);

}

}

System.out.println("\nAlgorithm 1");

System.out.println("Vowels removed: " + vowels);

System.out.println("Repeats removed: " + repeats);

System.out.println("Algorithm 1 message: " + newStr);

System.out.println("Algorithm 1 characters saved: " + (vowels + repeats));

algorithm2(msg);

}

public static void algorithm2(String msg)

{

String alg2Msg = "";

int uniqueLetters = 0;

// Iterate through each letter in msg

for(int i=0; i < msg.length(); i++)

{

String ltr = msg.substring(i,i+1);

// Only process if this character is not a space

if(!ltr.equals(" "))

{

/* Check whether this character has already appeared by

* iterating through characters from start up to the current

* letter and using a boolean flag variable.

*/

boolean alreadyUsed = false;

for(int j=0; j<i; j++)

{

if(msg.substring(j,j+1).equals(ltr))

{

alreadyUsed = true;

}

}

/* If this character hasn't already appeared,

* iterate through the rest of the characters

* and count how many times it appears.

*/

if(!alreadyUsed)

{

uniqueLetters++;

int count = 0;

for(int j=i; j<msg.length(); j++)

{

if(msg.substring(j,j+1).equals(ltr))

{

count++;

}

}

alg2Msg += count + ltr;

}

}

} //end for loop

System.out.println("\nAlgorithm 2");

System.out.println("Unique characters found: " + uniqueLetters);

System.out.println("Algorithm 2 message: " + alg2Msg);

System.out.println("Algorithm 2 characters saved: " + (msg.length() - alg2Msg.length()));

} //end algorithm2

}

Explanation:

Here you go!

You are looking at computer ads. One has a processor that is 3.64GHz. What does this mean?

It can download 3.64 gigabits per second.

It can convert binary to decimal at the rate of 3.64 trillion numbers per second.

It can upload 3.64 gigabits per second.

It can execute 3.64 billion instructions per second.

Answers

Answer:

The higher the clockspeed the more the cpu can do

Explanation:

Other Questions
due in 10 minutesLaaj made a Venn diagram to compare and contrast the two stages of cellular respiration.Which belongs in the area marked X?Energy is released.Oxygen is used up.Glucose is broken down.Carbon dioxide is used up. PLEAZE HELP!!!Is x + 2 a function? If it is 5:32 now, what time will it be 24 minutes from now? Write the equation of a circle with center (-8,-6) and radius 9. Place in the box the correct pronoun choice from the words in parenthesis.My friends and (I, me) are going to take a walk along the beach at sunset and thenbuild a bonfire.Question 7 Use inductive reasoning to predict the next month in the pattern: January, April, July...A.) AugustB.) September C.) October D.) November According to the early classification system plants were put in the following categories: 1.______________________ 2.______________________ 3.______________________ In ____ Paul tells us that we are saved by grace.Colossians 3Ephesians 2John 18Romans 12 was one result of the increase in trade that followed the Crusades? please hurry!!Which statement describes one event that happens at deep-ocean trenches?A. Crust is formed.B. Mountains are formed.C. Seafloor spreading occurs.D. Denser plates slide under lighter plates. How much work is done when 425 N of force is applied for 60.0m Select the correct answer.A song by which singer has one of the highest concentrations of historical allusions known?OA.Elton JohnOB.Billy JoelC. Billy IdolOD.Paul SimonResetNext Historical American baseball events in the 1970? If youre going hiking this weekend and you have the option of hiking a mountain (A) that is 1400 meters in height and a mountain (B) that is 650 meters in height, BUT you know that you have limited time because of other plans which mountain would you choose to hike? Why? EASY !! Which choice describes a way that soil is lost? desalinization bioremediation pesticides erosion The regular price of a baseball hat is 14.45$. If Carlos buys the baseball hat on sale for 20% off the regular price, how much change will he receive after paying with 20$ How can you tell whether the sum/difference of two rational numbers will be positive or negative? What is the slope between the point (3,5) and (7,6) g(x)=x^2-2,find the range for the domain How much will $6000 be worth if it is invested at 3.5% interest for 20 years compounded annually, semi-annually, quarterly, monthly, weekly, daily?