2 of 2 replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/

Pyth, 10 bytes


Try it online. Test suite.

This is a translation of Dennis' CJam answer. I'm making it a community wiki, since I didn't come up with it.


      cz\#   split input at #
     _       reverse
    s        join
   s         cast to integer
.>z          rotate input right