Open
Description
I am trying to implement SIGN requests from your api
acording your docu step 2
2. Calculate a hash key by inputing your secret key using SHA1 algorithm. Then convert it to BASE64 string.
With Private Key 'TestSecretKey' Must produce from string TestAccessKeyTestCRID20170110750600CancelAllOrdersRequest1BTCUSD
string
OJ9oUnQEYKnaM5bI61ubsJwx420=
but I am receiving
qaqLGhjqXPz1GpfvgVvvBCn/5BA=
my python code to reproduce this behaviour:
>>> import base64,hmac, hashlib
>>> hmac.new('TestSecretKey','TestAccessKeyTestCRID20170110750600CancelAllOrdersRequest1BTCUSD' , hashlib.sha1).digest().encode('base64')
'qaqLGhjqXPz1GpfvgVvvBCn/5BA=\n'
Is it mistake in docu string or in docu description ?
Metadata
Metadata
Assignees
Labels
No labels