Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/subsoap/ahash
Automatic Hash for Defold
https://github.com/subsoap/ahash
Last synced: 3 months ago
JSON representation
Automatic Hash for Defold
- Host: GitHub
- URL: https://github.com/subsoap/ahash
- Owner: subsoap
- Created: 2018-06-30T10:17:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-05T03:54:54.000Z (4 months ago)
- Last Synced: 2024-10-09T13:06:46.299Z (4 months ago)
- Language: Lua
- Size: 4.88 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-defold - AHash
README
# AHash
Automatic Hash for Defold
https://github.com/subsoap/ahash/archive/master.zip
Require it locally or globablly if you wish to have it available in your entire project.
```local ahash = require("ahash.ahash")```
AHash allows you to get any value you want as a hash. Hashes are only calculated once, and then after are retrieved from the existing list of hashes.```
if (ahash.MY_CUSTOM_HASH == hash("MY_CUSTOM_HASH")) then
print("It works!")
end
```