Prison slang has existed as long as there have been crime and prisons; in Charles Dickens' time it was known as "thieves' cant". Words from prison slang often eventually migrate into common usage, such as "snitch", "ducking", and "narc".
The use of prison language predates modern times, with examples seen in Charles Dickens' works. Words from this dialect often spread into mainstream conversation.