Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Last active October 24, 2018 15:52
Show Gist options
  • Save AndyNovo/fc03c72925f968ecee17c3f3b2fc6e59 to your computer and use it in GitHub Desktop.
Save AndyNovo/fc03c72925f968ecee17c3f3b2fc6e59 to your computer and use it in GitHub Desktop.
from salsa20 import Salsa20_keystream
a_str = Salsa20_keystream(100, "A"*8, 'a'*32)
print a_str.encode('hex')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment