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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:08:36+00:00 2026-05-13T09:08:36+00:00

The iPhone supports the following encryption algorithms enum { kCCAlgorithmAES128 = 0, kCCAlgorithmDES, kCCAlgorithm3DES,

  • 0

The iPhone supports the following encryption algorithms

enum {
    kCCAlgorithmAES128 = 0,
    kCCAlgorithmDES,            
    kCCAlgorithm3DES,           
    kCCAlgorithmCAST,           
    kCCAlgorithmRC4,
    kCCAlgorithmRC2 
};

I want to use only symmetric algorithm since asymmetric encryptions requires more computation overhead.

So I want to know which of the ones listed is the best algorithm and also what is the key-length in order to avoid excessive computation overhead.

  • 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-13T09:08:36+00:00Added an answer on May 13, 2026 at 9:08 am

    Key length

    Bruce Schneier wrote back in 1999:

    Longer key lengths are better, but
    only up to a point. AES will have
    128-bit, 192-bit, and 256-bit key
    lengths. This is far longer than
    needed for the foreseeable future. In
    fact, we cannot even imagine a world
    where 256-bit brute force searches are
    possible. It requires some fundamental
    breakthroughs in physics and our
    understanding of the universe. For
    public-key cryptography, 2048-bit keys
    have same sort of property; longer is
    meaningless.

    Block ciphers

    AES

    It’s the current standard encryption algorithm. It’s considered to be safe by most people. That’s what you should be using if you haven’t got a very deep knowledge in cryptography.

    DES

    DES is the predecessor of AES and is considered broken because of its short key length.

    3DES

    Is a variation of DES with a longer key length. It’s still in use but there are some known attacks. Still it’s not yet broken.

    RC2

    It’s considered to be weak.

    Stream ciphers

    RC4

    It has some known vulnerabilities but is still used today, for example in SSL. I recommend not to use it in new products.

    Conclusion

    Use either RC4 or AES, depending if you need a stream or a block cipher.

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

Sidebar

Ask A Question

Stats

  • Questions 310k
  • Answers 310k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer From Module Statement Modules are a reference type similar to… May 13, 2026 at 10:14 pm
  • Editorial Team
    Editorial Team added an answer According to the MySQL reference : MySQL enables you to… May 13, 2026 at 10:14 pm
  • Editorial Team
    Editorial Team added an answer QLineEdit wasn't really made for this type of thing, as… May 13, 2026 at 10:14 pm

Related Questions

Webkit (on iPhone and Safari, at least) supports HTML5's database storage via SQLite. I'm
I am trying retrieve data from a .php file on a server from within
I am using NSDateFormatter to set my date in my iPhone app, and dates
Is there a way in the iPhone sdk to get the name of the
I have an iPhone application in which a number of domain objects are populated

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.