“My friends were probably the most taken aback. They were trying to get images out of their head for a while,” the 29-year-old has revealed.
The film, based on Jim Thompson's 1952 novel about a psychotic killer, also stars Casey Affleck and Kate Hudson.
The actress, who gave birth to her daughter Honor Marie Warren in June 2008, has also spoken about how becoming a mother has changed her career choices.
“After I had my daughter, I wanted to concentrate on doing movies with good directors,” Alba reflected in an interview with New York magazine.