The second transpose in crypt() is not necessary, we can do it during set_key()

The second transpose in crypt() is not necessary, we can do it during set_key()