Hmac
class Hmac extends StringMutator (View source)
Generates a hash-based message authentication code (HMAC) using a secret key with the given algorithm.
Traits
Methods
__construct(string $algo, string $key, bool $rawOutput = false)
No description
string
mutateString(string $value)
No description
Details
__construct(string $algo, string $key, bool $rawOutput = false)
No description
static Hmac
make(string $algo, string $key, bool $rawOutput = false)
No description
final mixed
mutate(mixed $value)
Mutate the input value.
protected string
mutateString(string $value)
No description
protected string
resolveStringInput(mixed $value)
No description