MCPcopy Create free account
hub / github.com/s3tools/s3cmd / sign

Function sign

S3/Crypto.py:186–187  ·  view source on GitHub ↗
(key, msg)

Source from the content-addressed store, hash-verified

184
185
186def sign(key, msg):
187 return hmac.new(key, encode_to_s3(msg), sha256).digest()
188
189
190def getSignatureKey(key, dateStamp, regionName, serviceName):

Callers 1

getSignatureKeyFunction · 0.85

Calls 1

encode_to_s3Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…