Courtney Stodden is planning to donate the $1 million she received for her sex tape to charity.

Courtney Stodden and Doug Hutchinson

Courtney Stodden and Doug Hutchinson

The 20-year-old reality TV star - who has been married to 54-year-old actor Doug Hutchison for four years - inked a lucrative deal with Vivid Entertainment boss Steven Hirsch, giving the company exclusive rights to the footage, but is reportedly set to give it all to a non-profit organisation that benefits young children.

Vivid.com released the video, entitled 'Courtney Uncovered: The Courtney Stodden Sex Tape,' ahead of schedule on Thursday (14.05.15), but the site was then forced to shut down for more than an hour after hackers attempted to steal the footage.

A source told gossip website TMZ.com that the cyber attack failed, as the company's IT department figured out how to block the hackers.

The adult film begins with the blonde beauty sitting in limousine, saying: "Hey babe, it's me, I just hopped in a limo and I'm off to Vegas. I'm going to miss you like crazy, but I have something in mind, I guess you could call it a little sexy video."

The former 'Celebrity Big Brother' star is then seen covering herself in ice-cream and taking a bath.

Hirsch previously claimed that Courtney "looks amazing" in the video.

He added: "This is the most unique footage I've ever seen".

Vivid Entertainment has been responsible for the release of a number of celebrity sex tapes, including those featuring former 'Baywatch' actress Pamela Anderson and her then-husband Tommy Lee, and reality TV star Kim Kardashian West and former boyfriend Ray J.

Two years ago, Courtney - who split from Doug in 2013 but reunited with him less than a year later - claimed she had received a $5 million offer to shoot a pornographic movie.

Speaking at the time, she explained: "Trust me, the second I turned 18, the entire porn industry turned upside down, Vivid, all of them. I turned down a $5 million porn offer about 3 months ago."