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
Talja [164]
3 years ago
9

To check if a password the user enters matches an encrypted password that’s stored in a database is valid, you can

Computers and Technology
1 answer:
Gnoma [55]3 years ago
5 0

Answer:

To check if a password the user enters matches an encrypted password that’s stored in a database is valid, you can  use the password_hash() function to encrypt the user entry and compare it with the encrypted password in the database.

Option B is therefore the correct answer.

Explanation:

To check if a password the user enters matches an encrypted password that is stored in a database is valid, you can use hash functions to generate a hash of the entered password and then compare it with the hash of the password stored in the database.

Thus, option B is the correct answer.

You might be interested in
Write an application that displays a series of at least five student ID numbers (that you have stored in an array) and asks the
babymother [125]

Answer:

See explaination for the program code

Explanation:

// ScoreException.java

class ScoreException extends Exception

{

ScoreException(String msg)

{

super(msg);

}

}

// TestScore.java

import java.util.Scanner;

public class TestScore

{

public static void main(String args[]) throws ScoreException

{

Scanner sc = new Scanner(System.in);

int studentId[] = { 1201, 1202, 1203, 1204, 1205 };

int scores[] = new int[5];

int score = 0;

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

{

try

{

System.out.print("Enter a numeric test score for the student"+(i+1)+" of Id "+studentId[i]+" : ");

score = sc.nextInt();

if(score < 0 || score > 100)

{

scores[i] = 0;

throw new ScoreException("Input should be between 1 and 100");

}

else

{

scores[i] = score;

}

}

catch(ScoreException ex)

{

System.out.println("\n"+ex.getMessage()+"\n");

}

}

//displaying student details

System.out.println("\n\nStudent Id \t Score ");

System.out.println("=============================");

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

{

System.out.println(studentId[i]+"\t\t"+scores[i]);

}

}

}

8 0
4 years ago
Vegetable farming is a good source of income explain this statement<br>​
Artist 52 [7]

<em><u>Answer:</u></em>

<em><u>Answer:qwertyuioplkjhgfdsazxcvbnm</u></em>

<em><u>Answer:qwertyuioplkjhgfdsazxcvbnmExplanation:</u></em>

<em><u>Answer:qwertyuioplkjhgfdsazxcvbnmExplanation:qwertyuioplkjhgfdsazxcvbnm</u></em>

6 0
3 years ago
Which one of the following statements referring to mobile Internet
zhenek [66]

Answer: All are true

Explanation:

6 0
4 years ago
Read 2 more answers
N, or central processing unit, is also known as the
Rzqust [24]
CPU is the Answer to this question.
6 0
4 years ago
Read 2 more answers
Can someone please help and answer the 6 questions on the bottom of the page
garik1379 [7]

Ivan rigney

John benson      2

Mark nicholls      4

James  mitchell   7

Paul matthews   13

Neil hooper         8

5 0
3 years ago
Other questions:
  • The security administrator for PLABS.com recommends using a host-based firewall for all servers and workstations. What can a hos
    6·1 answer
  • Zack is working on an assignment at school. He wants to save his work so he can take it home and complete it on his home compute
    13·1 answer
  • The figure above shows two pith balls suspended by threads from a support. In the figure, A. the pith balls are uncharged. B. pi
    13·2 answers
  • Investments in data networks, ip addresses, routers, and switches are ________ because of their impact on productivity, security
    14·1 answer
  • NOTE: in mathematics, the square root of a negative number is not real; in C therefore, passing such a value to the square root
    15·1 answer
  • Please Help!! How to code this in Python?
    11·1 answer
  • On the 80x86 CPU, the ESP register keeps track of the value on the top of the runtime stack.
    11·1 answer
  • Write an algorithm to calculate the sum of integer ​
    7·1 answer
  • Buying the newest phone as soon as it is released when your current phone works perfectly is not a good idea for all but which o
    10·2 answers
  • Which graphic file format would you choose if you needed to make an animated graphic for a website?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!