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 8130429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T08:42:23+00:00 2026-06-06T08:42:23+00:00

What is safer? I can use either one as I’m using CodeIgniter, but with

  • 0

What is safer?

I can use either one as I’m using CodeIgniter, but with Sha1, I can’t reverse if I ever needed to for some odd reason like I can with encryption.

But I’m still somewhat new to PHP, so if there is a way I can possibly do something like display the sha1 hashed password as stars, so if say your password is “lala123” it would show this to me: “*******” and never ever be able to be shown “lala123”, is it possible to do that with sha1? If so, please help me, otherwise I’ll use encryption, but only if it’s safe to use for passwords. Please let me know 🙂

  • 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-06T08:42:24+00:00Added an answer on June 6, 2026 at 8:42 am

    Hashing is considered more secure for the very reason that even you cannot restore the password. If you password database is compromised, and the password encryption is reversible, the baddie might decrypt them, especially if the code that does the decryption has been compromised as well. SHA1 is not reversible by design.

    You’re not supposed to display the password in the UI – ever. The * are just that – an arbitrary number of stars. Disclosing the length of a user’s password constitutes in itself a considerable hint to a would-be guesser.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use gwt-log on my gwt application but I can't get any
To create a delegate from a method you can use the compile type-safe syntax:
How can we use Visual Source Safe plug-in in standalone Aptana installment. People say
I am writing a library. The library can be used by applications that use
I have come across many websites which either use doget() or dopost() method to
I am supporting some classic ASP pages, one of which uses and re-uses an
I am writing forum app on Django using custom session/auth/users/acl system. One of goals
When you get a doGet or doPost call in a servlet you can use
I'm going to encrypt my harddrive using LUKS with Arch Linux; normally you use
I can compile the solution with no errors, but when I'll try to run

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.