
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
sixarm_ruby_secure_token
Advanced tools
Secure random token generator to create strong secure text tokens.
Example:
SecureToken.new
#=> "kavzwbnxremyqlkwtxoimxzqpofmpove"
For docs go to http://sixarm.com/sixarm_ruby_secure_token/doc
Want to help? We're happy to get pull requests.
Install:
gem install sixarm_ruby_secure_token
Bundler:
gem "sixarm_ruby_secure_token", "~>1.3.0"
Require:
require "sixarm_ruby_secure_token"
To enable high security for all our gems:
wget http://sixarm.com/sixarm.pem
gem cert --add sixarm.pem
gem sources --add http://sixarm.com
To install with high security:
gem install sixarm_ruby_secure_token --test --trust-policy HighSecurity
This generates a 32-character token of all lowercase letters, using Ruby's securerandom methods.
SecureToken is a string, so you can do any string methods on it. You can change how tokens are randomly created, however you want.
You may choose any of these open source licenses:
The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement.
In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
This license is for the included software that is created by SixArm; some of the included software may have its own licenses, copyrights, authors, etc. and these do take precedence over the SixArm license.
Copyright (c) 2005-2013 Joel Parker Henderson
FAQs
Unknown package
We found that sixarm_ruby_secure_token demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.