Key In terms of encryption, a key is a value applied using an algorithm to a string of unencrypted text to produce encrypted text, or vice versa. Key length is a factor in determining the strength of encryption.