Security Mechanisms Provided by iOS9

I hope, some of this information will protect you from making common mistakes during development for iOS9+. You will not find here any detailed instructions. But some topics can stimulate you to go deep within new knowledge.

I’ll also provide a small part of theoretical base of cryptography. For those who are not aware about details – it will be a good point to get new knowledge and to google for new terms. For others – just to refresh.

Theory & History & Good to know

Let’s talk about cryptography base. This science is based on Integer Number Theory, Finite Fields and Probability Theory.

In current context we should also define a term – Negligibility.

In crypto, we consider probabilities that are negligible to be too small to matter. That means if an attack works only with negligible probability, then we consider that attack to be unsuccessful.

Next term we should keep in mind – is PRNG – Pseudorandom number generator or Deterministic Random Bit Generator. The output of PRNG sequence is not truly random. It can be implemented via software algorithms or hardware. Actually the last one can give output much more closer to truly random with higher generation speed.

Negligibility and PRNG – is the foundation of crypto algorithms. And let’s take a look on one old method called OTP (One-time pad).

The main distinct property – is ...

. . .