MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / __permutate

Method __permutate

thirdparty/pydes/pyDes.py:454–456  ·  view source on GitHub ↗

Permutate this block with the specified table

(self, table, block)

Source from the content-addressed store, hash-verified

452 return bytes(result)
453
454 def __permutate(self, table, block):
455 """Permutate this block with the specified table"""
456 return [block[i] for i in table]
457
458 # Transform the secret key, so that it is ready for data processing
459 # Create the 16 subkeys, K[1] - K[16]

Callers 2

__create_sub_keysMethod · 0.95
__des_cryptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected