This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Description
Add a code example that will help customers to implement event hash verification as detailed below:
https://app.hellosign.com/api/eventsAndCallbacksWalkthrough#EventHash
Something between the lines of this flow:
val jsonPayload: String = """ {"event":{"event_type":"callback_test","event_time":"1598376374","event_hash":"event_hash","event_metadata":{"related_signature_id":null,"reported_for_account_id":"reported_for_account_id","reported_for_app_id":null,"event_message":null}}}' """ val hmacMd5: Mac = Mac.getInstance("HmacMD5") hmacMd5.init(SecretKeySpec("API_KEY", "HmacMD5")) return Base64.getEncoder().encodeToString(hmacMd5.doFinal(jsonPayload.toByteArray()))
Internal report - DEV-10537
ZD - 11266583