DIM inhibits HDAC2 activity, which may contribute to the DIM-induced increase in p21 expression in prostate cancer cells. Here, CDKN1A is linked to prostate cancer.