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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:03:45+00:00 2026-06-09T17:03:45+00:00

Alright, I was using the keychain API provided by the Security.framework to store the

  • 0

Alright, I was using the keychain API provided by the Security.framework to store the passwords for the user accounts in my app. Unfortunately, the keychain API doesn’t integrate well when your app is distributed via Cydia, and resides in the /Applications directory because the login process appears to be broken.

I decided that I would just encrypt the the pin the user inputs into the pin text field, and store the pin as a hash in the Core Data database. I know this isn’t as secure as using the Keychain API, but I want to finish / release my app sometime this year. So I added the necessary objects to the necessary classes to be able to store the pin in the database. So my question is, why datatype should I use to store the password hash in the Core Data database. I assuming a String would be the necessary choice, but just wanted to confirm with the SO crowd.

Here’s a picture of what I am talking about,

enter image description here

  • 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-09T17:03:46+00:00Added an answer on June 9, 2026 at 5:03 pm

    Use the Core Data NSString. Depending on what hash method you are wanting to use it will most likely be an alpha-numeric string.

    Binary would be for pictures and stuff like that.

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

Sidebar

Related Questions

Alright I am making an Android app, and using the CAPTURE_PIC_REQUEST to take a
Is it alright to expect that the user using the back end will have
I am using facebook SSO in my iOS app and that works alright. Now
Alright. I am using a Modal box pop up window to display business details
Alright, so recently I was using Notepad++ for all of my programming needs, but
Alright, I'm just trying to learn about using Contact information, but I'm a bit
Alright...I am here looking for some bread crumbs. This is my code: using System;
Alright Im using the BambooInvoice software, and where I am, we have two sales
Alright, currently I'm using GD to create a PNG image that logs a few
Alright, so i had the bright idea of using namespaces and an if statement

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.