This is a great example of legislation catching up with technology. I am thrilled to see this change in California. There is no question that ransomware is a form of extortion and as such, it should be subject to the penalties associated with such a crime.
https://blog.knowbe4.com/ransomware-is-now-officially-extortion-under-california-law