1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
neonofarm [45]
2 years ago
13

What is the purpose of encryption?

Engineering
1 answer:
worty [1.4K]2 years ago
5 0

Answer:

Encryption enhances the security of a message or file by scrambling the content. To encrypt a message, you need the right key, and you need the right key to decrypt it as well.It is the most effective way to hide communication via encoded information where the sender and the recipient hold the key to decipher data.

You might be interested in
java Write a program that simulates tossing a coin. Prompt the user for how many times to toss the coin. Code a method with no p
max2010maxim [7]

Answer:

The solution code is written in Java.

  1. public class Main {
  2.    public static void main(String[] args) {
  3.        Scanner inNum = new Scanner(System.in);
  4.        System.out.print("Enter number of toss: ");
  5.        int num = inNum.nextInt();
  6.        for(int i=0; i < num; i++){
  7.            System.out.println(toss());
  8.        }
  9.    }
  10.    public static String toss(){
  11.        String option[] = {"heads", "tails"};
  12.        Random rand = new Random();
  13.        return option[rand.nextInt(2)];
  14.    }
  15. }

Explanation:

Firstly, we create a function <em>toss()</em> with no parameter but will return a string (Line 14). Within the function body, create an option array with two elements, "heads" and "tails" (Line 15). Next create a Random object (Line 16) and use <em>nextInt()</em> method to get random value either 0 or 1. Please note we need to pass the value of 2 into <em>nextInx() </em>method to ensure the random value generated is either 0 or 1.  We use this generate random value as an index of <em>option </em>array and return either "heads" or "tails" as output (Line 17).

In the main program, we create Scanner object and use it to prompt user to input an number for how many times to toss the coin (Line 6 - 7). Next, we use the input num to control how many times a for loop should run (Line 9). In each round of the loop, call the function <em>toss() </em>and print the output to terminal (Line 10).  

4 0
3 years ago
Read 2 more answers
There is an electric field near the Earth's surface whose magnitude is about 145 V/m . How much energy is stored per cubic meter
weqwewe [10]

Answer:

u_e = 9.3 * 10^-8 J / m^3  ( 2 sig. fig)

Explanation:

Given:

- Electric Field strength near earth's surface E = 145 V / m

- permittivity of free space (electric constant) e_o =  8.854 *10^-12 s^4 A^2 / m^3 kg

Find:

- How much energy is stored per cubic meter in this field?

Solution:

- The solution requires the energy density stored between earth's surface and the source of electric field strength. The formula for charge density is given by:

                                        u_e = 0.5*e_o * E^2

- Plug in the values given:

                                        u_e = 0.5*8.854 *10^-12 *145^2

                                        u_e = 9.30777 * 10^-8  J/m^3

5 0
3 years ago
3. What is the mechanical advantage of the pulley system shown below? HII TAI 190 O A1 O E.2 OC.3 OD 4​
Contact [7]

Answer:

I don't know ☺️☺️☺️❌‼️

Explanation:

I don't understand this question

7 0
2 years ago
Find E[x] when x is sum of two fair dice?
Ksenya-84 [330]

Answer:

When two fair dice are rolled, 6×6=36 observations are obtained.

P(X=2)=P(1,1)=

36

1

​

P(X=3)=P(1,2)+P(2,1)=

36

2

​

=

18

1

​

P(X=4)=P(1,3)+P(2,2)+P(3,1)=

36

3

​

=

12

1

​

P(X=5)=P(1,4)+P(2,3)+P(3,2)+P(4,1)=

36

4

​

=

9

1

​

P(X=6)=P(1,5)+P(2,4)+P(3,3)+P(4,2)+P(5,1)=

36

5

​

P(X=7)=P(1,6)+P(2,5)+P(3,4)+P(4,3)+P(5,2)+P(6,1)=

36

6

​

=

6

1

​

P(X=8)=P(2,6)+P(3,5)+P(4,4)+P(5,3)+P(6,2)=

36

5

​

P(X=9)=P(3,6)+P(4,5)+P(5,4)+P(6,3)=

36

4

​

=

9

1

​

P(X=10)=P(4,6)+P(5,5)+P(6,4)=

36

3

​

=

12

1

​

P(X=11)=P(5,6)+P(6,5)=

36

2

​

=

18

1

​

P(X=12)=P(6,6)=

36

1

​

Therefore, the required probability distribution is as follows.

Then, E(X)=∑X

i

​

⋅P(X

i

​

)

=2×

36

1

​

+3×

18

1

​

+4×

12

1

​

+5×

9

1

​

+6×

36

5

​

+7×

6

1

​

+8×

36

5

​

+9×

9

1

​

+10×

12

1

​

+11×

18

1

​

+12×

36

1

​

=

18

1

​

+

6

1

​

+

3

1

​

+

9

5

​

+

6

5

​

+

6

7

​

+

9

10

​

+1+

6

5

​

+

18

11

​

+

3

1

​

=7

E(X

2

)=∑X

i

2

​

⋅P(X

i

​

)

=4×

36

1

​

+9×

18

1

​

+16×

12

1

​

+25×

9

1

​

+36×

36

5

​

+49×

6

1

​

+64×

36

5

​

+81×

9

1

​

+100×

12

1

​

+121×

18

1

​

+144×

36

1

​

=

9

1

​

+

2

1

​

+

3

4

​

+

9

25

​

+5+

6

49

​

+

9

80

​

+9+

3

25

​

+

18

121

​

+4

=

18

987

​

=

6

329

​

=54.833

Then, Var(X)=E(X

2

)−[E(X)]

2

=54.833−(7)

2

=54.833−49

=5.833

∴ Standard deviation =

Var(X)

​

=

5.833

​

=2.415

4 0
2 years ago
A house is losing heat at a rate of 1700 kJ/h per °C temperature difference between the indoor and the outdoor temperatures. Exp
Furkat [3]

Answer:

1700kJ/h.K

944.4kJ/h.R

944.4kJ/h.°F

Explanation:

Conversions for different temperature units are below:

1K = 1°C + 273K

1R = T(K) * 1.8

= (1°C + 273) * 1.8

1°F = (1°C * 1.8) + 32

Q/delta T = 1700kJ/h.°C

T (K) = 1700kJ/h.°C

= 1700kJ/K

T (R) = 1700kJ/h.°C

= 1700kJ/h.°C * 1°C/1.8R

= 944.4kJ/h.R

T (°F) = 1700kJ/h.°C

= 1700kJ/h.°C * 1°C/1.8°F

= 944.4kJ/h.°F

Note that arithmetic operations like subtraction and addition of values do not change or affect the value of a change in temperature (delta T) hence, the arithmetic operations are not reflected in the conversion. Illustration: 5°C - 3°C

= 2°C

(273+5) - (273+3)

= 2 K

5 0
3 years ago
Other questions:
  • Practicing new things strains your brain fibers, weakening your ability to make connections.
    13·1 answer
  • g A 30-m-diameter sedimentation basin has an average water depth of 3.0 m. It is treating 0.3 m3/s wastewater flow. Compute over
    8·1 answer
  • Refrigerant 134a enters a horizontal pipe operating at steady state at 40oC, 300 kPaand a velocity of 40 m/s. At the exit, the t
    13·1 answer
  • What is an air mass?​
    5·2 answers
  • What are the benefits of using a multi view sketch to communicate a design
    14·1 answer
  • Describe the are of mechanical engineering
    6·2 answers
  • How did engineers help to create a ceiling fan
    8·1 answer
  • I want to solve the question
    11·1 answer
  • Using your knowledge of how an ATM is used, develop a set of use cases that could serve as a basis for understanding the require
    15·1 answer
  • 'Energy' has the potential to:
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!