{"id":22808240,"url":"https://github.com/sixarm/sixarm_ruby_secure_token","last_synced_at":"2026-02-23T05:30:48.506Z","repository":{"id":920521,"uuid":"684527","full_name":"SixArm/sixarm_ruby_secure_token","owner":"SixArm","description":"SixArm.com » Ruby » SecureToken class to generate a strong text string","archived":false,"fork":false,"pushed_at":"2025-04-14T09:21:04.000Z","size":429,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-05T11:56:24.148Z","etag":null,"topics":["gem","ruby","secure","security","token"],"latest_commit_sha":null,"homepage":"http://sixarm.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SixArm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2010-05-25T04:29:36.000Z","updated_at":"2025-04-14T09:21:08.000Z","dependencies_parsed_at":"2025-04-14T10:26:00.199Z","dependency_job_id":"640e342c-1798-4cb8-851b-f142aeaea94c","html_url":"https://github.com/SixArm/sixarm_ruby_secure_token","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SixArm/sixarm_ruby_secure_token","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fsixarm_ruby_secure_token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fsixarm_ruby_secure_token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fsixarm_ruby_secure_token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fsixarm_ruby_secure_token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SixArm","download_url":"https://codeload.github.com/SixArm/sixarm_ruby_secure_token/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fsixarm_ruby_secure_token/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29738083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T04:51:08.365Z","status":"ssl_error","status_checked_at":"2026-02-23T04:49:15.865Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gem","ruby","secure","security","token"],"created_at":"2024-12-12T11:08:49.900Z","updated_at":"2026-02-23T05:30:48.475Z","avatar_url":"https://github.com/SixArm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SixArm.com → Ruby → \u003cbr\u003e SecureToken to generate a random string\n\n\u003c!--header-open--\u003e\n\n[![Gem Version](https://badge.fury.io/rb/sixarm_ruby_secure_token.svg)](http://badge.fury.io/rb/sixarm_ruby_secure_token)\n[![Build Status](https://travis-ci.org/SixArm/sixarm_ruby_secure_token.png)](https://travis-ci.org/SixArm/sixarm_ruby_secure_token)\n[![Code Climate](https://api.codeclimate.com/v1/badges/de591aacc1a3f39cee6a/maintainability)](https://codeclimate.com/github/SixArm/sixarm_ruby_secure_token/maintainability)\n\n* Git: \u003chttps://github.com/SixArm/sixarm_ruby_secure_token\u003e\n* Doc: \u003chttp://sixarm.com/sixarm_ruby_secure_token/doc\u003e\n* Gem: \u003chttps://rubygems.org/gems/sixarm_ruby_secure_token\u003e\n* Contact: Joel Parker Henderson, \u003cjoel@sixarm.com\u003e\n* Project: [changes](CHANGES.md), [license](LICENSE.md), [contributing](CONTRIBUTING.md).\n\n\u003c!--header-shut--\u003e\n\n\n## Introduction\n\nThis is a secure token generator that creates cryptographically-strong strings.\n\nExample:\n\n    SecureToken.new  \n    #=\u003e \"kavzwbnxremyqckwtxrumxzapmfmpwve\"\n\n\nFor docs go to \u003chttp://sixarm.com/sixarm_ruby_secure_token/doc\u003e\n\nWant to help? We're happy to get pull requests.\n\n\n\u003c!--install-open--\u003e\n\n## Install\n\n### Gem\n\nTo install this gem in your shell or terminal:\n\n    gem install sixarm_ruby_secure_token\n\n### Gemfile\n\nTo add this gem to your Gemfile:\n\n    gem 'sixarm_ruby_secure_token'\n\n### Require\n\nTo require the gem in your code:\n\n    require 'sixarm_ruby_secure_token'\n\n\u003c!--install-shut--\u003e\n\n\n## Details\n\nThis generates a 32-character token of lowercase letters.\n\nThis uses Ruby's SecureRandom methods for strong security.\n\nSecureToken is a string, so you can do any string methods on it.\n\nYou can change how tokens are randomly created by using cusomtization.\n\n\n## Customization\n\nTo customize the choices:\n\n    SecureToken.choices = ['a','b','c']\n    SecureToken.new \n    #=\u003e \"acbbaccbabcabcabbcabcabcdbbcabcb\"\n\nTo customize the length:\n\n    SecureToken.length = 8\n    SecureToken.new \n    #=\u003e \"kavzwbnx\"\n\nThe default length is 32. \n\nThe default choices are the lowercase English letters 'a' to 'z', but omitting the letters 'i', 'l', 'o', 'q'. We omit these because our user testing shows these characters are often misunderstood by users.\n\n\n## Enumeration\n\nTo use an enumeration #next method:\n\n    s = SecureToken.new\n    s.next  #=\u003e 'bacbaacb'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsixarm%2Fsixarm_ruby_secure_token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsixarm%2Fsixarm_ruby_secure_token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsixarm%2Fsixarm_ruby_secure_token/lists"}