# What does it mean for “1^n”(i.e., the security parameter written in unary)? [duplicate]

As it is mentioned above, I am confused about “Gen takes as input $$1^n$$ and outputs a key“. Does it mean that the input of Gen is 1111....111 with length of n?