She wrote her statement at a moment she felt particularly worn-down by the trial, after she learned the probation officer on the case had twisted her words to recommend a moderate county-jail sentence for Mr. Turner and, adding insult to injury, misidentified her as white (she is half Chinese).

Incensed, she decided that her statement “would no longer be a sad journal entry about my feelings. My DA had asked me to address the judge directly, but I would speak directly to Brock,” she writes in the book.

Her letter addressed him starting with the second sentence: “You don’t know me, but you’ve been inside me, and that’s why we’re here today.”

“I’ve read dozens of these letters,” said Ms. Kianerci, the district attorney, “but hers was different. She has an incredible ability to describe in excruciating and vivid detail what victims go through.”

Her statement went viral, yet most in her life remained unaware of the trial, something she now thinks may have stalled her recovery. “Shame grows when it’s in a contained space,” she said. “As soon as you let a little bit of air in, the shame loses its power.”

Women across the country sent her letters of support. California Gov. Jerry Brown signed a bill that imposed mandatory minimum sentences in sexual assault cases. Her words were used to make sure “no future Brock Turners get a slap on the wrist,” said Ms. Kianerci.

Ms. Miller began working with a therapist, disclosing that she had been sexually assaulted. The therapist, unaware Ms. Miller was the victim in the Stanford case, urged her to read the statement that so many people were sharing online.