Update print and input syntax for python 3

This commit is contained in:
Magnus Hagander
2019-01-19 20:09:24 +01:00
parent edad84b1d0
commit c6c0bf1948
16 changed files with 59 additions and 59 deletions

View File

@ -9,10 +9,10 @@ from Crypto import Random
import base64
if __name__ == "__main__":
print "The next row contains a 32-byte (256-bit) symmetric crypto key."
print "This key should be used to integrate a community auth site."
print "Note that each site should have it's own key!!"
print ""
print("The next row contains a 32-byte (256-bit) symmetric crypto key.")
print("This key should be used to integrate a community auth site.")
print("Note that each site should have it's own key!!")
print("")
r = Random.new()
key = r.read(32)