Fix weak key (needed to be lower 16 bits).