Test ring enciphering with offsets