{"action":"opened","issue":{"url":"https://api.github.com/repos/izaera/cipher/issues/91","labels_url":"https://api.github.com/repos/izaera/cipher/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/izaera/cipher/issues/91/comments","events_url":"https://api.github.com/repos/izaera/cipher/issues/91/events","html_url":"https://github.com/izaera/cipher/issues/91","id":55067641,"number":91,"title":"MD5 and HMAC-SHA1","user":{"login":"cgarciae","id":5862228,"avatar_url":"https://avatars.githubusercontent.com/u/5862228?v=3","gravatar_id":"","url":"https://api.github.com/users/cgarciae","html_url":"https://github.com/cgarciae","followers_url":"https://api.github.com/users/cgarciae/followers","following_url":"https://api.github.com/users/cgarciae/following{/other_user}","gists_url":"https://api.github.com/users/cgarciae/gists{/gist_id}","starred_url":"https://api.github.com/users/cgarciae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgarciae/subscriptions","organizations_url":"https://api.github.com/users/cgarciae/orgs","repos_url":"https://api.github.com/users/cgarciae/repos","events_url":"https://api.github.com/users/cgarciae/events{/privacy}","received_events_url":"https://api.github.com/users/cgarciae/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-21T19:47:12Z","updated_at":"2015-01-21T19:47:12Z","closed_at":null,"body":"Hi, I have the task to encrypt some information to communicate with an API. I have to create this string\r\n```dart\r\nStringToSign = \r\n  HTTP-Verb + \"\\n\" +\r\n  Content-MD5 + \"\\n\" +\r\n  Content-Type + \"\\n\" +\r\n  Date + \"\\n\" +\r\n  Request-Path;\r\n```\r\nwhere `Content-MD5` is\r\n```\r\nthe hexadecimal MD5 hash of the whole request body (from the first boundary to the last one, including the boundary itself). For request types without request body, include the MD5 hash of an empty string which is “d41d8cd98f00b204e9800998ecf8427e”.\r\n```\r\nwhich in my case I think would be a JSON string. Then I have to perform the equivalent computation of this Java code\r\n```dart\r\nSignature = Base64 (HMAC-SHA1 (server_secret_key, StringToSign));\r\n```\r\nSince this library port's Java maybe its more straight forward than with the crypto library. Can you help me out?"}}