Python data encryption tools
pip3 install nubcrypt
import nubcrypt as nbx
filetarget = "testfile.txt"
key = "secret key"
#encrypt a file
outfile = filetarget + ".nubx"
nbx.encrypt_file(filetarget, key, outfile)
#encrypt a bytes
nbx_bytes = nbx.encrypt_bytes("encrypt this text".encode(), key)