The original one was by Trent Reznor, but Johnny Cash covered it and became one if not the most famous covered songs of all time.
unpopular opinion but i have always hated johnny cash's version it's so bald and lack of feelings comparated to original and i don't understand why it's so popular yes yes i understand that it has that vibe, i don't know, like cash's voice has some some dignity that comes with age and this cover is different kind of story. many says that original one is more teen angsty. i get it but i like teen angst and just damn i just trip to different universe when i listen NIN