[ create a new paste ] login | about

Link: http://codepad.org/qtKsIJtT    [ raw code | output | fork ]

PHP, pasted on Jan 22:
1
2
3
4
5
6
7
8
9
10
11
<?php 

         $signature1 = hash_hmac('SHA256', "st=1453362060~exp=1453363260~acl=/*", chr(63));
          $signature2 = hash_hmac('SHA256', "st=1453362060~exp=1453363260~acl=/*", chr(63) . chr(23));
          $signature3 = hash_hmac('SHA256', "st=1453362060~exp=1453363260~acl=/*", chr(63) . chr(23) . chr(253));

          echo $signature1. "\n";
          echo $signature2. "\n";
          echo $signature3. "\n";

?>


Output:
1
2
3
3e086bb48ab9aafa85661f9ce1b7dac49befddf117ce2a42d93c92b6abe513ce
3667dd414a50f68f7ce083e540f27f68f7d0f18617b1fb1e4788bffeaeab59f6
dd5a20041661046fdee871c8b9e77b3190fbbf85937c098090a1d524719b6aa9


Create a new paste based on this one


Comments: