Rail Route Cipher (first) and Library methods