LOS ANGELES-Bella Thorne ‘’wanted to teach’’ a hacker a lesson after he threatened to leak her nude photos.

The 21-year-old actress shared topless pictures of herself on her Twitter account at the weekend after an unnamed man told her he was going to make them public and though she is ‘’so angry’’ about allegedly being blackmailed, she thinks the threatening texts came from a teenager so she is trying to be understanding.

She told The Hollywood Reporter: ‘’This kid sounds like he’s 17, as much as I’m so angry and wanted to fuck him up over doing this to people I just wanted to teach him a lesson. ‘’He’s still a kid and we make mistakes, this mistake is a bad one. But I don’t want some 17 year old’s whole life ruined because he wasn’t thinking straight and being a dumbass.’’

And Bella hopes the alleged hacker will eventually learn to use his skills for good.

She added: ‘’Plus, he’s obviously smart so if he got on the right side of the tracks he could actually possibly help our community and be an alliance. You can’t always tear someone down for their bad sides but more so build up their good sides.’’ The ‘Famous In Love’ star had previously shared the topless pictures as part of a text exchange with her alleged blackmailer and explained she wanted to take her ‘’power back’’ by sharing them herself.