RandomTokenGenerator

RandomTokenGenerator will generate the token which will be the random token. which will help to generate secrets keys or token. Every time the token will be different.

Installation

Add this line to your application's Gemfile:

gem 'random_token_generator'

And then execute:

$ bundle

Or install it yourself as:

$ gem install random_token_generator

Usage

def token
  self.token = random_token
end

'random_token' will generate the random keys.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/random_token_generator. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.