Hash
class Hash extends StringMutator (View source)
Generates a hash of the input string with the given algorithm.
Traits
Methods
__construct(string $algorithm, bool $rawOutput = false)
No description
string
mutateString(string $value)
No description
Details
__construct(string $algorithm, bool $rawOutput = false)
No description
static Hash
crc32(bool $rawOutput = false)
No description
static Hash
make(string $algorithm, bool $rawOutput = false)
No description
static Hash
md5(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
static Hash
sha1(bool $rawOutput = false)
No description
static Hash
sha256(bool $rawOutput = false)
No description
static Hash
sha512(bool $rawOutput = false)
No description