What mean in python when i'm after function set [::-1]
or [:64]
for example? Here is code example
var = binascii.unhexlify(data)[:64]
What mean in python when i'm after function set [::-1]
or [:64]
for example? Here is code example
var = binascii.unhexlify(data)[:64]
binascii.unhexlify
returns a string. The brackets are applied to that object, not the function. It is just a short version of
x = binascii.unhexlify(data)
var = x[:64]