Commit a5f6624b authored by Daniel Hofmann's avatar Daniel Hofmann
Browse files

Bash interop, tested with Py -- works! :)

parent 7377ae67
#!/usr/bin/env bash
# notes:
# - ./interop.sh "Hello"
# - beware: the base64 encoded cipher does _not_ have the iv prepended
set -e
PASS=$(openssl rand -hex 16)
echo "$@" | openssl enc -aes-128-cbc -nosalt -a -k $PASS -p
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment