The question was to design a service which would give 5 char random reservation code for airline ticket.
I am not sure how to answer this with 5 char limit. Normal md5 hash wont help