We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2321bfd commit a6e07b6Copy full SHA for a6e07b6
1 file changed
README.md
@@ -98,7 +98,7 @@ $secret = 'my_very_secret_key';
98
$expire = 60;
99
$algo = 'sha256';
100
$timestamp = date('c');
101
-$stringtosign = "/files/top_secret.pdf{$timestam}{$expire}";
+$stringtosign = "/files/top_secret.pdf{$timestamp}{$expire}";
102
$hashmac = base64_encode(hash_hmac($algo, $stringtosign, $secret, true));
103
$hashmac = strtr($hashmac, '+/', '-_'));
104
$hashmac = str_replace('=', '', $hashmac);
0 commit comments