Prison isn't like the movies, especially the medium to minimum security prisons this guy will likely end up in. I've seen some of the nerdiest guys come in to the joint and actually do pretty well. May as well have been the first time in their lives they actually were somewhat accepted in to a group. Sure, if you're the autistic type of nerd that wants to fight and argue over silly shit someone will probably kick your ass, otherwise if you stay out of the bullshit like gangs, drugs, and debt you'll probably do just fine. Most prison rape and shit like that is done for revenge, it's an act of violence and a snow of animalistic dominance. Being a small weak man doesn't make you a target for rape unless they think you're a chomo or something. For sexual pleasure there are more than enough punks around that will gladly suck and fuck. The kind of people that are just relentless predators like that are usually segregated pretty quick, it's doubtful a man doing 2 years for computer crimes would ever even meet someone like that. As long as he keeps his head down his biggest risk will most likely be people trying to borrow ramen noodles and not paying him back.
A long rant for someone who probably was just trying to be funny, but as someone who fucked up royally in his younger years and had to do time it's pretty annpying. I'm pretty honest about my past, and invariably the first question asked by most people after finding out I did time was if I was ever raped. The answer is no. I've seen some violence, I've seen some sex, and even heard about a few rapes, but prison is a vastly different world from what it is portrayed, even at maximum security institutions. I even got the fuck beaten out of me and served three months in the hole on 23 hour lockdown, but that only happened because I thought I was tough and started shjt. Never had the slightest problem until I made my own.