irb(main):001:0> 1278369127863986128.to_s(26)
    => "da7ig0e87ja9m"
    irb(main):002:0> "da7ig0e87ja9m".to_i(26)
    => 1278369127863986128

Yeah. Ruby’s like that.