Well, it's a lookup table, limited to 6^N, where N is the number of legal characters (printable ASCII?).