summaryrefslogtreecommitdiff
path: root/openssl/tests/encryption.testscript
blob: 5b6d00adff4080bb1c5615fa1198f0a915a7eb42 (plain)
1
2
3
4
5
6
7
8
# file      : tests/encryption.testscript
# license   : OpenSSL and SSLeay Licenses; see accompanying LICENSE file

enc = $* aes-256-cbc -e -salt -base64 -md sha256 -pass pass:123 -pbkdf2
dec = $* aes-256-cbc -d -salt -base64 -md sha256 -pass pass:123 -pbkdf2

$enc    <'ABC' | $dec    >'ABC' : no-zlib
$enc -z <'ABC' | $dec -z >'ABC' : zlib