Ransomware, a type of malware, encrypted the data on the Democrats' server and demanded an online payment in exchange for a key code to unlock the system, according to a statement issued Friday by Senate Democratic Leader Jay Costa.