Add rotation number support for encryption.