hmac_sha1_test_C 468 B

123456789
  1. % cf. http://wiki.oauth.net/TestCases
  2. {signature, "tR3+Ty81lMeYAr/Fid0kMTYa/WM="}.
  3. {base_string, "GET&http%3A%2F%2Fphotos.example.net%2Fphotos&file%3Dvacation.jpg%26oauth_consumer_key%3Ddpf43f3p2l4k3l03%26oauth_nonce%3Dkllo9940pd9333jh%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1191242096%26oauth_token%3Dnnch734d00sl2jdk%26oauth_version%3D1.0%26size%3Doriginal"}.
  4. {consumer, {"", "kd94hf93k423kf44", hmac_sha1}}.
  5. {token_secret, "pfkkdhi9sl3r4s00"}.