In cryptography, the security parameter is a variable that measures the input size of the problem. Both the resource requirements of the cryptographic algorithm or protocol as well as the adversary's probability of breaking security are expressed in terms of the security parameter.
The security parameter size n is usually expressed in unary representation (i.e. a nlong string of bits 1) so that the cryptographic algorithm execution efficiency can be polynomialtime in the length of the input size.
Typical security parameters:
