Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrkamel/to_hash_key
Generate redis-safe hash keys using SHA1 easily
https://github.com/mrkamel/to_hash_key
Last synced: 23 days ago
JSON representation
Generate redis-safe hash keys using SHA1 easily
- Host: GitHub
- URL: https://github.com/mrkamel/to_hash_key
- Owner: mrkamel
- Created: 2012-03-06T16:01:00.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-03-06T16:01:13.000Z (over 12 years ago)
- Last Synced: 2024-10-09T16:47:23.471Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 85.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# to_hash_key
Generate redis-safe hash keys using SHA1 easily
irb> "test".to_hash_key
=> "5006d6f8302000e8b87fef5c50c071d6d97b4e88"
irb> "test".to_hash_key "test"
=> "test_5006d6f8302000e8b87fef5c50c071d6d97b4e88"