0001 EXENCRYPT(8)
0002 ============
0003 :doctype: manpage
0004
0005
0006 NAME
0007 ----
0008 exencrypt - Encrypt string and print the Base64 value to stdout
0009
0010
0011 SYNOPSIS
0012 --------
0013 *exencrypt* [STRING...]
0014
0015
0016 DESCRIPTION
0017 -----------
0018 Program encrypts the *STRING* value passed on command line. In the result program
0019 prints to *stdout* encrypted value of the string. The encrypted values is base64
0020 string. The debug is configured in standard way as for all other binaries via
0021 'ndrxdebug.conf' or Common Config.
0022
0023 In case if no command line arguments *STRING* are not passed, data for encryption are
0024 asked in interactive way, two times. If inputs does not match, error message
0025 is provided and program is terminated with error code. Data input messages
0026 are printed to *stderr*.
0027
0028 Encryption keys which are used for encryption are provided either by using built-in
0029 algorithm (username+hostname) hashed with SHA1. Or from vendor specific loaded plugin.
0030
0031 The encryption principles allows to encrypt the sensitive data and store on disk
0032 in PCI/DSS compatible way.
0033
0034
0035 EXAMPLE
0036 -------
0037
0038 Single string encryption:
0039
0040 --------------------------------------------------------------------------------
0041 $ exencrypt 'HELLO WORLD'
0042 AAAAC196L/d4Sj4OC8cSZh2492I=
0043 --------------------------------------------------------------------------------
0044
0045
0046 Two string encryption:
0047
0048 --------------------------------------------------------------------------------
0049 $ exencrypt HELLO WORLD
0050 AAAABbBtKbtIv9BXe1SioTYi5xw=
0051 AAAABRaPhXxibr6ZktcZ6S71i50=
0052 --------------------------------------------------------------------------------
0053
0054
0055 Interactive mode:
0056
0057 --------------------------------------------------------------------------------
0058 $ exencrypt
0059 Enter data to encrypt (e.g. password):
0060 Retype data to encrypt (e.g. password):
0061 AAAABI5qGpDDyBZsqUP8lZeTjI4=
0062 --------------------------------------------------------------------------------
0063
0064 EXIT STATUS
0065 -----------
0066 *0*::
0067 Success
0068
0069 *1*::
0070 Failure
0071
0072 BUGS
0073 ----
0074 Report bugs to support@mavimax.com
0075
0076 SEE ALSO
0077 --------
0078 *exdecrypt(8)*, *ex_env(5)*, *ndrxdebug.conf(5)*
0079
0080 COPYING
0081 -------
0082 (C) Mavimax, ltd.
0083