protected function createSignature($url, $expiration) { $url = (string) $url; return md5("{$url}::{$expiration}::{$this->signatureKey}"); }