answersLogoWhite

0


Best Answer

We never store passwords in a password field. If we did that, anyone with access to the database would have access to all the passwords. Instead, we store the output from a one-way cryptographic hashing function. That is, when a user creates a password, we store the hash value generated from that password via the hashing function. When the user subsequently enters their password in order to log on, the hash value generated by the entered password is compared with the stored hash value. If the two hash values match exactly then the correct password was entered.

Being one-way, it is not possible to determine the password from the hash value, even if we know the precise implementation details of the hash function employed to create the hash value. This is the safest way to store passwords; we simply need to ensure that the same hash function that was used to generate the hash is also used to validate the user's password at logon.

Cryptographic hashes can vary in length depending on which function was used to generate the hash value. Typical values are 128-bit, 160-bit, 256-bit and 512-bit, thus a fixed-length binary field of the required length would be suitable for storing the hash values.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

character array

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What data type is suitable for password field?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What are the Access data types and how they are used?

In Access and in databases in general each field in a database table is of a certain data type. The data type determines what type of data a field can hold. A field of the text data type can hold text, a field of the number data type can hold numbers and a field of the data/time data type can hold date and time values.Access actively checks what type of data is entered into a field and Access will disallow the entry of data into a field that doesn't conform to the field's data type. Access won't allow you to put text into a field of the Number data type, for example.So, data types are a way to restrict the entry of data into a field. Internally, the database uses different strategies for the storage and retrieval of different data types.


What is field data type?

The data type of the Variable determines/indicates the type of data that can be stored in a field/variable


What is data type and field name?

Data Type defines the type of data that will be stored. Example : int, byte, short etc


What field data type can contain any characters?

text


Is 'A database uses characteristics such as field size and data type to define each field' false?

No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.

Related questions

How do you insert a hyperlink in Access?

There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.


What indicates the type of data that can be stored in field in Access?

Data Type indicates the type of data that can be stored in a field.


What types of data can be stored in a text data type field?

A text data type field can store alphanumeric characters, such as letters, numbers, and special symbols. It is suitable for storing large amounts of text data, such as descriptions, comments, or notes. Text data types can hold variable lengths of text, depending on the database system used.


What are the Access data types and how they are used?

In Access and in databases in general each field in a database table is of a certain data type. The data type determines what type of data a field can hold. A field of the text data type can hold text, a field of the number data type can hold numbers and a field of the data/time data type can hold date and time values.Access actively checks what type of data is entered into a field and Access will disallow the entry of data into a field that doesn't conform to the field's data type. Access won't allow you to put text into a field of the Number data type, for example.So, data types are a way to restrict the entry of data into a field. Internally, the database uses different strategies for the storage and retrieval of different data types.


What indicates the type of data can be stored in a field.?

data type


What is the type of data that a particular field is designed to hold?

Data type.


What is field data type?

The data type of the Variable determines/indicates the type of data that can be stored in a field/variable


Data in a field whose data type is Text?

Text data


What characteristics in a database fields may have such as data type field name field size and field format?

What characteristics could a database field have, such as data type, field name, field size and field format?


Specifies the kind of data a field can contain?

Data Type


What is data type and field name?

Data Type defines the type of data that will be stored. Example : int, byte, short etc


What indicates the type of data that can be stored in a field?

The data type, like Number, Date, Time, Text etc.