https://github.com/karimsa/cryptojs_bot
A Twitter bot to access node-crypto.
https://github.com/karimsa/cryptojs_bot
Last synced: 3 months ago
JSON representation
A Twitter bot to access node-crypto.
- Host: GitHub
- URL: https://github.com/karimsa/cryptojs_bot
- Owner: karimsa
- Created: 2016-09-05T01:37:03.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-06T00:20:31.000Z (almost 9 years ago)
- Last Synced: 2025-03-11T21:03:58.010Z (3 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [cryptojs_bot](http://apps.alibhai.co/cryptojs_bot)
A Twitter bot for accessing various crypto functions.
## Usage
Tweet to [@cryptojs_bot](https://twitter.com/@cryptojs_bot) where the first word is the
method you wish to execute followed by a list of arguments to provide that method.- [random](#random)
## Adding Extra Methods
To add extra methods, please submit a PR.
### random
Generate a random string using `crypto.randomBytes()`.
Parameters:
- **size:** the size of the random string you need.
- **format:** the format in which you need the string (i.e. hex, base64, etc.)## License
Copyright (C) 2016 Karim Alibhai.
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the “Software”), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.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.