Skip to content

Instantly share code, notes, and snippets.

View ma7555's full-sized avatar
🏠
Working from home

ma7555 ma7555

🏠
Working from home
View GitHub Profile
@ma7555
ma7555 / create_sha256_signature.py
Created March 21, 2019 10:10 — forked from gauravvjn/create_sha256_signature.py
Create HMAC SHA256 signature/encryption/encode
"""
https://gist.github.com/Azadehkhojandi/50eaae4cf20b21faef186f2c8ee97873
"""
import hmac
import hashlib
import binascii
def create_sha256_signature(key, message):