Brazilian President Dilma Rousseff signed into law two measures categorizing types of cybercrime, including hacking into computers, stealing passwords or emails and attacking Web pages, the official Agencia Brasil news agency said Monday.

The new laws introduce into the Penal Code assorted cybercrimes and specify the jail terms to be meted out for the most serious cases, including hacking or tapping into private electronic communications and stealing industrial or computer secrets.

In the case where private information or photographs obtained in a cyberattack are made public, the severity of the penalties can be increased.

In addition, the measures also reflect the crime of using data from credit cards without the authorization of the cardholder, a practice that is comparable to the falsification of documents in the sense that both carry penalties of up to five years in prison. EFE