Yes, you're given a random password when you enable backups that you need to use when restoring. They don't get uploaded to the cloud. On iOS there's no backup feature at all AFAIK.
And local.. whatsapp tries to get you to send unencrypted backups to google drive.