Weak keys usually represent a very small fraction of the overall key space , which means that if someone generates a random key to encrypt a message , it is a rare condition that weak keys will cause a security problem . Weak keys usually represent a very small fraction of the overall keyspace , which usually means that , if one generates a random key to encrypt a message , weak keys are very unlikely to give rise to a security problem .