Hi ronenhaim,
As I understand it you have an iPad that you have an encrypted backup of, and want to know if restoring it would also restore your backups. According to the following article, yes it will. Take a look at it here:
Create and delete iPhone, iPad, and iPod touch backups in iTunes
Protect your backup with a passcode using the Encrypt Backup option in the Summary tab.
This option also backs up your Keychain, including your passwords for email accounts, Wi-Fi, websites, and some apps. If you restore this backup on a new device, your Keychain will transfer to the new device too. Learn how to create and restore from a backup.
When your backup is encrypted, you'll need to enter the password when you enable or disable encryption or when you restore from the backup.
Thank you for using Apple Support Communities.
Regards,
Sterling