https://github.com/mrkamel/to_hash_key
Generate redis-safe hash keys using SHA1 easily
https://github.com/mrkamel/to_hash_key
Last synced: 4 months 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 13 years ago)
- Default Branch: master
- Last Pushed: 2012-03-06T16:01:13.000Z (over 13 years ago)
- Last Synced: 2025-02-03T14:36:13.179Z (5 months 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"