For symmetic encryption, you can use the following:
To encrypt:
openssl aes-256-cbc -salt -pbkdf2 -e -in audio.wav -out audio.wav.encrypted
To decrypt:
| # License: BSD 3-clause | |
| # Authors: Kyle Kastner | |
| # Harvest, Cheaptrick, D4C, WORLD routines based on MATLAB code from M. Morise | |
| # http://ml.cs.yamanashi.ac.jp/world/english/ | |
| # MGC code based on r9y9 (Ryuichi Yamamoto) MelGeneralizedCepstrums.jl | |
| # Pieces also adapted from SPTK | |
| from __future__ import division | |
| import numpy as np | |
| import scipy as sp | |
| from numpy.lib.stride_tricks import as_strided |
| #!/bin/bash | |
| # version 2 thanks to @dhx-mike-palandra | |
| echo "Creating /etc/NetworkManager/conf.d/99-forticlient.conf..." | |
| sudo cat > /etc/NetworkManager/conf.d/99-forticlient.conf << 'EOF' | |
| [keyfile] | |
| unmanaged-devices=interface-name:~vpn*,type:tun | |
| EOF | |
| if [ $? -eq 0 ] |
| # Kernel sysctl configuration file for Linux | |
| # | |
| # Version 1.12 - 2015-09-30 | |
| # Michiel Klaver - IT Professional | |
| # http://klaver.it/linux/ for the latest version - http://klaver.it/bsd/ for a BSD variant | |
| # | |
| # This file should be saved as /etc/sysctl.conf and can be activated using the command: | |
| # sysctl -e -p /etc/sysctl.conf | |
| # | |
| # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and sysctl.conf(5) for more details. |