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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:44:24+00:00 2026-06-09T13:44:24+00:00

I am developing an application in which the application tracks the user location, writes

  • 0

I am developing an application in which the application tracks the user location, writes them to a file and send the file to a server periodically (in this example per hour). Then, people will decrypt and read the data from server.

I am using AES with PBE (first answer in this question)

However, since a lot of phones will use this and new IVs will be generated for each phone and each file sending operation. It looks like an overkill for me to send each IV to the server and associate them with the corresponding files in the server.

Can I use AES without IV‘s, like with only a password? Is this against the logic of AES?
I am not experienced in Cryptography can you show me a way to overcome this “a lot of file encryption and decryption” thing?

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-09T13:44:26+00:00Added an answer on June 9, 2026 at 1:44 pm

    You need to ask your self “What am I protecting myself from?” then develop a security policy around that. I think you are using the wrong tools for the job and should not be using any encryption you don’t understand how to set up as you will likely make major security holes in the process.

    Here are a few situations I can think of what you are trying to protect and how you would solve it.

    Protect someone from capturing the data as it is transmitted to your server and getting a copy of the data:
    If all you need to to is protect the information between the phone and the server just use a SSL connection between you and the server. It is easy to set up and hard to mess up.

    Protect peoples personal data on the server so in the event the data is stolen from the server it is not accessible:.
    For this you need to encrypt the data on the server as it is “in rest”. The best way to do this is use a symmetric key algorithm so it has fast encryption and decryption, the key to that algorithm should be protected by either having it only client side (but if the client looses their key client side there is no way of recovering their data, and only the device that generated the data can decrypt it so no “Web interfaces”. Or you must protect the key in a way that loss of the database would not allow a attacker to decrypt the data (Like a Hardware Security Module)

    Protect the data cached on the phone so if someone had root access to the phone they could not decrypt past data that the app recorded:
    To do this you simply use a symmetric key to encrypt the data, then encrypt the symmetric key with your public key for the app, then delete the copy of the symmetric key on the app. With this method once the symmetric key has been deleted there is no way for the user of the app to get the data back as the only person who can recover the symmetric key is you by using your private key to decrypt the symmetric key for the data. Note that this will not protect you if someone is monitoring the app as it runs (there is no way to prevent that), this will only protect data that was recorded before the monitoring started.

    I hope this helps you out and will let you make a more secure program.

    Disclaimer: When I say “No way to decrypt” I mean no way to decrypt without using a brute force attack on the key and trying every key.

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

Sidebar

Related Questions

I developing application which using geo-location. Should i ask user right for this when
I am developing an application which requires real-time updates to the end user. However,
i am developing application which send and receive data between two computers but there
I am developing an android application which receiving the video stream from a server.
I'm developing application which need access to user's facebook account. It is working, but
I am developing an lib which tracks user events, like button click, state change,
i am developing application which point towards the particular location, i have calculate angle
I am developing an application which is based on user challenges. The app also
I'm developing a C++ application which will run on a headless server and keep
I am developing application which is having Gujarati font in text-view but my problem

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.