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

  • Home
  • SEARCH
  • 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 9204919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:49:36+00:00 2026-06-17T23:49:36+00:00

Some time ago i’ve asked in this forum how i could encrypt a large

  • 0

Some time ago i’ve asked in this forum how i could encrypt a large file on an iphone without loading them entirely into memory. Didn’t get an answer though. I didn’t want to load megabytes of data to ram only to encrypt them again … in ram. iDevices have very limited ram so i wanted the encryption engine to encrypt files instead of in-memory data, not loading the entire file to memory. I am not an expert in objective-c so i did not find a way to do this usin Security.framework. Instead, i wrote a class that reads a source file in specified size chunks, encrypts them and writes to a destination file. This way i’m not reading an entire file into memory so that solves my problem. However … does that raise another completely different problem? Does the encryption suffer if i split the file in N parts, encrypt those parts separately and then join the result into an encrypted file? I have virtually no knowledge in cryptography so i want to make sure if my approach does not compromise the cryptography algorithm (i’m using AES 128bit).

Thanks for sharing your thoughts

  • 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-17T23:49:37+00:00Added an answer on June 17, 2026 at 11:49 pm

    The encryption of a file does not suffer from being done in chunks because the encryption is ALWAYS done in small chunks. AES (what you seemed to be using in your prior question) has a chunk size of 128 bits.

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

Sidebar

Related Questions

Some time ago I asked a question about saving hwnd into ppm file. Thanks
some time ago someone already asked this question and a few answers were given
Some time ago I was asked the strange question how would I implement map
some time ago I happend to resolve a PG related problem with this SO
Some time ago I created this LAMP based web. At the time I wrote
Some time ago I developed a multilingual website and now they have asked me
Some time ago I asked a question on how to remove unused factors in
Some time ago I asked a question about nested loops on SO and as
Some time ago, reading the App Engine Cookbook, I found this recipe based on
Some time ago I installed my PFX key into Container using command like this:

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.