Úvod do kryptografie
[Edit]Basics
- Good cypher only leaks:
- existence of communication
- existence of message
- size of a message
Primitives:
- Symmetric cipher encrypt and decrypt keys are same
- Asymmetric cipher
- Hash function
- not (quickly) invertible
-
not be able to find collision
- Random number generator
- cannot be predicted
- nor influenced
- by the attacker nonce - number used once
Kerckhaff’s principle
Secret is in a key not in the algorithm.