Skip to content

Instantly share code, notes, and snippets.

@stephenlb
Last active August 9, 2017 19:09
Show Gist options
  • Select an option

  • Save stephenlb/01341a3a782c9fe6df1200911598afd0 to your computer and use it in GitHub Desktop.

Select an option

Save stephenlb/01341a3a782c9fe6df1200911598afd0 to your computer and use it in GitHub Desktop.
Generate Encrypted Phrases from Command Line
echo -n "Hello how are you?" | \
openssl enc -e -base64 -aes-256-cfb -nopad -nosalt \
-k `echo -e "$RANDOM $RANDOM $RANDOM" | base64`
## Twitter Stream
while true; do curl http://p.pubnub.com/stream/sub-c-78806dd4-42a6-11e4-aed8-02ee2ddab7fe/pubnub-twitter/0/-1; echo; done;
@stephenlb

stephenlb commented Aug 9, 2017

Copy link
Copy Markdown
Author
  1. Grab Twitter Feed
  2. Extract Tweet Text
  3. Encrypt tweet with random cipher keys
  4. Save Encrypted and Original into files
  5. Create RNN Model to translate Encrypted Text to Original

AI is born that can decrypt AES.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment