# Correct integer input value for keccak 256 [closed]

Assuming that we use k = sha3.keccak_256()(pysha3 package).

How should one convert integer input for a function k.update(myinteger) so that the output will be correct?

example:

import sha3

myinteger = 1064880000

k = sha3.keccak_256()
k.update(myinteger)
k.hexdigest()


## closed as off-topic by e-sushiNov 18 '17 at 18:32

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "Programming questions are off-topic even if you are writing or debugging cryptographic code. Unless your question is specifically about how the cryptographic algorithm, protocol or side-channel (mitigation) works, you should look into asking on Stack Overflow instead." – e-sushi
If this question can be reworded to fit the rules in the help center, please edit the question.