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 ) .
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 ) .