Every person who is guilty of the detestible and abominable crime against nature, committed with mankind or with a beast, is punishable by imprisonment in the penitentiary not exceeding ten (10) years.