Pebbles::RandomKeyGenerator
Simply generates random key from CLI. Execute random_key_generator with key length args.
Installation
Install it yourself as:
$ gem install pebbles-random_key_generator
Usage
Generate random key.
$ random_key_generator 32
# => ilSrOpeVzuTu7hF5UOLBzi4t7d3svNfi
Generate multiple random key.
$ random_key_generator 20 40
# => SABikHBrFjbnqbyuo5lZ
# => uTKWQBWNY0BJSY2F0gQFp6YvllEbGUl46fHKZi89
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request