Skip to main content

crypto Hash

POST 

https://api.mtrust.io/api/signing/v1/hash/crypto

This endpoints accept a file, provided as a multipart/form-data upload. The file will be hashed with node-crypt library. The hash is returned as a base64 string

Request

Bodyrequired

    file binary

    the file to be hashed

Responses

the hash result as string
Schema
    string string
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.mtrust.io/api/signing/v1/hash/crypto");
request.Headers.Add("Accept", "application/json");
var content = new StringContent(string.Empty);
content.Headers.ContentType = new MediaTypeHeaderValue("multipart/form-data");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.mtrust.io
Body required
the file to be hashed
ResponseClear

Click the Send API Request button above and see the response here!