Random bytes are not always a valid key

The DES enctypes have a random-to-key function which is not the
identity function.

Change-Id: I6730ed821f58eb446616558713982d591608dade