Yes, it is illegal to use ransomware in the state of Texas. This is prohibted under the Electronic Data Tampering law.