How can I fix this code so it generates unique random letters and numbers in lower case?
api_string = (0...32).map{65.+(rand(25)).chr}.join
8.times.map { [*'0'..'9', *'a'..'z'].sample }.join