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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:43:41+00:00 2026-05-23T10:43:41+00:00

This may be a loaded questions which has been asked in multiple forms before,

  • 0

This may be a loaded questions which has been asked in multiple forms before, but I haven’t seen it asked quite this way, and I’d like some opinions on how to proceed.

I’m developing an application which requires storing credentials to third-party web services on the device. I want these credentials to be encrypted, but I also don’t want to store the seed in code/on the device to prevent possible hijacking. The app also supports backing up using Googles cloud backup functionality, further necessitating encryption.

My thought was that if I could find a unique identifier, that could be used as the seed. There are a few odd requirements making this difficult.

  1. The ID MUST be the unique AND the same for a given combination of hardware/user in all circumstances.
  2. It cannot be simply tied to a device or user, it must be a combinations of both.
  3. It must be available NO MATTER WHAT; Wifi and Bluetooth MAC addresses are out of the question, as they are unavailable on some devices when they are turned off.
  4. From what I’ve read, the TelephonyManager IDs (SIM, etc.) aren’t available on all devices.
  5. From what I’ve read, the ANDROID_ID won’t be present in all circumstances.
  6. The app will be released in multiple markets (eg. Amazon Appstore), so a Google account won’t necessarily be present.
  7. Doing a factory wipe should NOT affect anything used to generate this ID (that way the user can backup, wipe & restore without interruption).
  8. Doing an OTA upgrade should NOT affect anything used to generate this ID (see reason above).
  9. It is OK if they have to reauthenticate after an uninstall/reinstall.

I understand that this value can obviously be retrieved by other applications, which is why I intend to hash it, further seeded by the applications UID as well as <your suggestion here>.

If anyone feels the requirements are unrealistic, I’d like to hear that as well too.

Especially in light of the recent hacking marathons, I want to be able to at least say “If someone can compromise this, nothing on your phone is safe”.

  • 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-05-23T10:43:42+00:00Added an answer on May 23, 2026 at 10:43 am

    Your requirements are reasonable to ensure security, however as you seem to suspect, they are unrealistic. There are simply too many differences in levels of Android device support to make it realistic.

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

Sidebar

Related Questions

This may be a no-brainer for the WPF cognoscenti, but I'd like to know
This may seem like a daft question, but i was wondering about how to
This may be simple one, but 5 mins of Googling didn't give me the
This may be a simple fix - but I'm trying to sum together all
This may be a matter of style, but there's a bit of a divide
This may sound strange but sometimes when your ASP.NET webapp isn't working and you
This may be a doozy, but does anyone have an idea how to: Pass
This may be an oxymoron, but how would one update a data entity in
This may not be the correct way to use controllers, but I did notice
I already asked a similar question but this one is a bit different/specific: I'm

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.