Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8354495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:33:57+00:00 2026-06-09T09:33:57+00:00

I usually store it in hexadecimal number but realize I could save half of

  • 0

I usually store it in hexadecimal number but realize I could save half of the space if I store it in binary inside MySQL. Are there any issues I should be aware of if I decide to store it in binary?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T09:34:00+00:00Added an answer on June 9, 2026 at 9:34 am

    How many passwords are you expecting to store? Does half the space mean that much to you really?

    You are probably representing the passwords in hexadecimal form in your application, so storing them in binary adds another layer of complexity and processing overhead when you perform any operations on those passwords.

    My opinion is that you should store them in a way that is convenient for you to work with, rather than one that saves you tiny amounts of space.

    Edit:

    Going to make some assumptions and take the opportunity to help you a little further.

    Since your passwords are in hex, I’m going to assume you’re not using crypt, and if you’re not, you should be. Worst case scenario, you’re using md5… and god is killing kittens.

    There’s a lot of questions and answers about bcrypt on stack overflow already, so I’ll not cover the information again here.

    The question SHA512 vs. Blowfish and Bcrypt is a good place to start though.

    Also have a read of a couple of @ircmaxell‘s blog posts on the subject:

    • Introducing PasswordLib
    • The Secure Programmers Pledge
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I usually store dates as integers using PHP's time() function in a MySQL database
Usually I worked with PostgreSQL and never had a problem, but now I need
I usually store dimensions in dimen.xml file. However, IntelliJ IDEA's intellisense places dimensions into
I usually store my personal javascripts in sub folders under Scripts (see the screenshot
I usually store the Java applications and JAR files that I download from the
What kind of DataType should be used in a column that usually will store
Can I store large amounts of image files in subversion. My designers usually create
I usually don't post questions on these forums, but I've searched all over the
I want to store certain objects in a HashMap. The problem is, usually you
I usually use one preference XML file to store all app-wide data. Now I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.