Short code generator.