MD5加密
import hmac
import hashlib
ekey = 'samplekey'
to_enc = 'sampledata'
ekey = ekey.encode(encoding='UTF8')
to_enc = to_enc.encode(encoding='UTF8'
MD5加密
import hmac
import hashlib
ekey = 'samplekey'
to_enc = 'sampledata'
ekey = ekey.encode(encoding='UTF8')
to_enc = to_enc.encode(encoding='UTF8'