Einmal in Ruby:

Code (ruby):
foo = "#{Time.now.hash}#{number}".to_i.to_s(36)


Geht aber sicher sogar noch einfacher.