The city of Keizer’s computer system was hacked, and officials were only able to regain access to the data by paying the perpetrators a $48,000 ransom.