MCPcopy Index your code
hub / github.com/apprenticeharper/DeDRM_tools / encodeHash

Function encodeHash

DeDRM_plugin/kindlekey.py:171–172  ·  view source on GitHub ↗
(data,map)

Source from the content-addressed store, hash-verified

169
170# Hash the bytes in data and then encode the digest with the characters in map
171def encodeHash(data,map):
172 return encode(MD5(data),map)
173
174# Decode the string in data with the characters in map. Returns the decoded bytes
175def decode(data,map):

Callers 1

getDBfromFileFunction · 0.70

Calls 2

encodeFunction · 0.70
MD5Function · 0.70

Tested by

no test coverage detected