Skip to content
HMAC (Hash-based Message Authentication Code) in PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

HMAC (Hash-based Message Authentication Code)

HMAC(K, m) = hash(K1 + hash(K2 + m))

Symbol Description
K Secret key
m Message
hash Hash function chosen
K1, K2 Secret keys derived from the original K
+ String concatenation

How to use

php guard.php [option] [dir]

[dir]: Directory to be guarded.


Option Similar Description
-h --help Show help.
-i Starts the guard of specified directory in [dir].
-t Tracking of the specified directory in [dir].
-d Disables the guard of specified directory in [dir].
You can’t perform that action at this time.