Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Calculate the md5 hash of a string
md5(string $string, bool $binary = false): string
}
if (isset($options['etag']) && $options['etag'] === true) {
$options['etag'] = $response->getEtag() ?? md5($response->getContent());
}
if (isset($options['last_modified'])) {
if (isset($options['etag']) && $options['etag'] === true) {
$options['etag'] = $response->getEtag() ?? md5($response->getContent());
}
if (isset($options['last_modified'])) {
$next,
collect(Arr::wrap($limiterResponse))->map(function ($limit) {
return (object) [
'key' => md5($this->limiterName.$limit->key),
'maxAttempts' => $limit->maxAttempts,
'decayMinutes' => $limit->decayMinutes,
];
collect(Arr::wrap($limiterResponse))->map(function ($limit) {
return (object) [
'key' => md5($this->limiterName.$limit->key),
'maxAttempts' => $limit->maxAttempts,
'decayMinutes' => $limit->decayMinutes,
];
return $this->prefix.$job->job->uuid();
}
return $this->prefix.md5(get_class($job));
}
}
return $this->prefix.md5(get_class($job));
}
$next,
collect(Arr::wrap($limiterResponse))->map(function ($limit) use ($limiterName) {
return (object) [
'key' => md5($limiterName.$limit->key),
'maxAttempts' => $limit->maxAttempts,
'decayMinutes' => $limit->decayMinutes,
'responseCallback' => $limit->responseCallback,
collect(Arr::wrap($limiterResponse))->map(function ($limit) use ($limiterName) {
return (object) [
'key' => md5($limiterName.$limit->key),
'maxAttempts' => $limit->maxAttempts,
'decayMinutes' => $limit->decayMinutes,
'responseCallback' => $limit->responseCallback,
$this->mockedJobData = [
'Body' => $this->mockedPayload,
'MD5OfBody' => md5($this->mockedPayload),
'ReceiptHandle' => $this->mockedReceiptHandle,
'MessageId' => $this->mockedMessageId,
'Attributes' => ['ApproximateReceiveCount' => 1],
'Body' => $this->mockedPayload,
'MD5OfBody' => md5($this->mockedPayload),
'ReceiptHandle' => $this->mockedReceiptHandle,
'MessageId' => $this->mockedMessageId,
'Attributes' => ['ApproximateReceiveCount' => 1],
$this->mockedSendMessageResponseModel = new Result([
'Body' => $this->mockedPayload,
'MD5OfBody' => md5($this->mockedPayload),
'ReceiptHandle' => $this->mockedReceiptHandle,
'MessageId' => $this->mockedMessageId,
'Attributes' => ['ApproximateReceiveCount' => 1],
'Body' => $this->mockedPayload,
'MD5OfBody' => md5($this->mockedPayload),
'ReceiptHandle' => $this->mockedReceiptHandle,
'MessageId' => $this->mockedMessageId,
'Attributes' => ['ApproximateReceiveCount' => 1],
'Messages' => [
0 => [
'Body' => $this->mockedPayload,
'MD5OfBody' => md5($this->mockedPayload),
'ReceiptHandle' => $this->mockedReceiptHandle,
'MessageId' => $this->mockedMessageId,
],
0 => [
'Body' => $this->mockedPayload,
'MD5OfBody' => md5($this->mockedPayload),
'ReceiptHandle' => $this->mockedReceiptHandle,
'MessageId' => $this->mockedMessageId,
],
$prefix = $this->zeroStack['line'];
}
return md5($prefix.serialize($normalizedArguments));
}
protected function staticCall(): bool
}
return md5($prefix.serialize($normalizedArguments));
}
protected function staticCall(): bool
}
}
$this->setOutput(md5(serialize($colors)));
return true;
}
}
$this->setOutput(md5(serialize($colors)));
return true;
}
return new IlluminateResponse($content, 200, [
'Content-Type' => $mime,
'Cache-Control' => 'max-age='.($config->get('imagecache::lifetime')*60).', public',
'Etag' => md5($content)
]);
}])->where(['template' => join('|', array_keys($config->get('imagecache::templates'))), 'filename' => '[ \w\\.\\/\\-]+']);
'Content-Type' => $mime,
'Cache-Control' => 'max-age='.($config->get('imagecache::lifetime')*60).', public',
'Etag' => md5($content)
]);
}])->where(['template' => join('|', array_keys($config->get('imagecache::templates'))), 'filename' => '[ \w\\.\\/\\-]+']);
{
$content = explode(' ', $publicKey, 3);
return implode(':', str_split(md5(base64_decode($content[1])), 2));
}
private function authenticate(SFTP $connection): void
$content = explode(' ', $publicKey, 3);
return implode(':', str_split(md5(base64_decode($content[1])), 2));
}
private function authenticate(SFTP $connection): void
{
$content = explode(' ', $publicKey, 3);
return implode(':', str_split(md5(base64_decode($content[1])), 2));
}
}
$content = explode(' ', $publicKey, 3);
return implode(':', str_split(md5(base64_decode($content[1])), 2));
}
}
return $this
->fluentlyGetOrSet('taxonomies')
->getter(function ($taxonomies) {
$key = "collection-{$this->id()}-taxonomies-".md5(json_encode($taxonomies));
return Blink::once($key, function () use ($taxonomies) {
return collect($taxonomies)->map(function ($taxonomy) {
->fluentlyGetOrSet('taxonomies')
->getter(function ($taxonomies) {
$key = "collection-{$this->id()}-taxonomies-".md5(json_encode($taxonomies));
return Blink::once($key, function () use ($taxonomies) {
return collect($taxonomies)->map(function ($taxonomy) {
public function gravatar($email, $size = null)
{
$url = 'https://www.gravatar.com/avatar/'.e(md5(strtolower($email)));
if ($size) {
$url .= '?s='.$size;
{
$url = 'https://www.gravatar.com/avatar/'.e(md5(strtolower($email)));
if ($size) {
$url .= '?s='.$size;
private function getImportedFields(array $config): array
{
$blink = 'blueprint-imported-fields-'.md5(json_encode($config));
return Blink::once($blink, function () use ($config) {
if (! $fieldset = FieldsetRepository::find($config['import'])) {
{
$blink = 'blueprint-imported-fields-'.md5(json_encode($config));
return Blink::once($blink, function () use ($config) {
if (! $fieldset = FieldsetRepository::find($config['import'])) {