text: In cryptography , key size or key length is the size measured in bits of the key used in a cryptographic algorithm ( such as a cipher ) .
simplified: In cryptography , key size or key length is the size ( measured in bits or bytes ) of the key used in a cryptographic algorithm ( such as a cipher ) .