MediaFire Rest API session signature SHA1?

This is the sort of pattern I follow when creating string representations of some hashed data:

string data = "testemail@domain.com1111119999abcdefghijklmnopqrst";
byte[] bytes = Encoding.UTF8.GetBytes(data);
byte[] hash;

using (SHA1 sha1 = new SHA1Managed())
    hash = sha1.ComputeHash(bytes);

//You would use hashString for the signature parameter.
string hashString = BitConverter.ToString(hash).Replace("-", "").ToLower();

Comments

  1. Judah

    • 2016/12/4

    This is the sort of pattern I follow when creating string representations of some hashed data:

  2. Blaise

    • 2017/4/30

    signature: a SHA1-hashed string that contains the following 4 elements in this sequence: email + password + application_id + API Key. For example, email: testemail@domain.com, password: 111111, application_id: 9999, and API key: abcdefghijklmnopqrst, then signature should be calculated as follows: SHA1 ('testemail@domain

  3. Koa

    • 2015/6/26

    signature: a SHA1-hashed string that contains the following 4 elements in this sequence: email + password + application_id + API Key.

  4. Rohan

    • 2018/2/17

    Hi Team, We are trying to analyse soapUI as an automation tool to automate our RESTful API regression tests. But while doing a prototype we are faing an issue in setting up the headers for REST requests. As we use hmac-sha1 encrytped signature [generated using a epoch timestamp, username and se

  5. Raul

    • 2021/3/2

    signature: a SHA1-hashed string that contains the following 4 elements in this sequence: email + password + application_id + API Key.

  6. Sergio

    • 2017/5/15

    Hey guys, how you doing? :D I am developing a new program for Desktop using VB.net, that interacts with online storage. I am using MediaFire, the best I found so far. Because

  7. Micah

    • 2019/11/19

    Using GET with an authorization header (Python). The following example shows how to make a request using the Amazon EC2 query API without SDK for Python (Boto3) 

  8. Felix

    • 2016/10/9

    You can't limit the params to just the OAuth ones because other params (like filter[] or limit) need to be included in the signature generation as well. I'm almost positive this is a server misconfiguration and if you dump $_GET prior to the signature being generated, you'll likely see it contains a q=/wc-api/v1/ entry. See #5616

  9. Easton

    • 2021/5/18

    I'm trying to use mediafire's new REST API, but I can't get the signature The signature is a sha1 of the 4 elements concatenated with NO 

  10. Fabian

    • 2018/11/10

    Digital signature algorithm used to create signature. First Data supports HMAC-SHA1 & HMAC-SHA256. See detail below. headers. List of header names, separated by a single space character, used to sign the request. signature. Base64 encoded digital signature generated by the client. Note: a valid time stamp ( date) is mandatory for authentication.

  11. Alonzo

    • 2017/3/28

    Run in Postman™. Vault provides a Postman™ collection for each GA release of the Veeva Vault REST API. Note that this collection represents 

  12. Simon

    • 2017/1/5

    signature: a SHA1-hashed string that contains the following 4 elements in this sequence: email + password + application_id + API Key.

  13. Campbell

    • 2020/1/23

    DOWNLOAD LAST BILLS ON OVH VIA REST API Session() "X-Ovh-Signature": "$1$" + sha1(app_secret + "+" + ck + "+" + "GET" + "+" + url + "+" + "" + "+" + 

  14. Tyler

    • 2018/2/25

    Connect your apps and data instantly, using clicks not code, with the new MuleSoft Composer. Read blog post Try for free Sign up for Anypoint Platform Download 

Comments are closed.

Recent Posts