Although both a type of malware, computer viruses and ransomware have differing characteristics. Viruses are a type of malware that is self-replicating, by inserting its code into software’s leaving a destructive path as it spreads from 1 device to another. Ransomware differs as it encrypts the victim’s data and demands payment of a ransom in order to re-gain access.