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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:06:11+00:00 2026-06-07T11:06:11+00:00

new to atk and going well until I started to implement UserAuth using sha256/salt.

  • 0

new to atk and going well until I started to implement UserAuth using sha256/salt. I can register and it creates and stores an encrypted password but I cannot login. It works with no encryption.

Has anyone implemented sha256/salt password encryption successfully?

The examples on the site seem outdated in this regard and some documentation relating to this no longer exists. I cannot find any relevant examples so I am finding it a little difficult.

Thanks in advance.

  • 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-07T11:06:12+00:00Added an answer on June 7, 2026 at 11:06 am

    I’m using the following code in 4.2.1 now and it works fine…

    $auth=$this->add('Auth_Basic');
    $auth->usePasswordEncryption('sha256/salt');
    $auth->setModel('User','user','pwd');
    $auth->check();
    

    You’ll have to create a Model (User here) that holds the username/pwd and such…

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

Sidebar

Related Questions

New to objective-c and I just can't find the answer to this question anywhere.
New to jquery question... Using jQuery, depending on the radio button clicked I would
New to Git and just started to use Github. Just created my first public
New to SharePoint. I'm trying to upload a document to SharePoint using it's CopyIntoItems
I'm new to Selenium IDE and can't find exact answer to my question elsewhere.
new to Django, and encountering a strange issue: Firefox runs completely well with the
New to REgEX and in my sixties so bear with me Using ColdFusion so
New to python, competent in a few languages, but can't see a 'snazzy' way
New to Scala, but experienced in C++ I'm trying to implement (possibly misguidedly) a
New to javascript/jquery and having a hard time with using this or $(this) to

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.