Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
AKMOS(1)		      AKMOS CLI	REFERENCE		      AKMOS(1)

NAME
       akmos - sets of cryptography utils

SYNOPSIS
       akmos {action} [options]

DESCRIPTION
       The akmos utility is used for encryption/decryption files and streams,
       compute message digests and other.

       Here is the list	of available actions:

       dgst
	   calculate message digests

       enc, dec
	   symmetric ciphering

       mac
	   compute message authentication code

       help
	   print short help

SYMMETRIC CIPHERING

       akmos enc|dec [-a algo[:flag]] [-m mode]	[-k keyfile] [-l keylen] [-p]
		     [-i iter] [-y] [-h] {input} {output}

   Options
       -a algo[:flag]
	   Crypto algorithm to use. By default is Twofish

	   Supported FLAGS

	   :ede	flag put cipher	into Encrypt-Decrypt-Encrypt mode (like	3DES)

	   :eee	flag put cipher	into Encrypt-Encrypt-Encrypt mode

       -m mode
	   Crypto mode to use. By default is CBC

       -k keyfile
	   Specifies a file which contains the keyfile

	   NOTE: size of keyfile is limited by 1 MiB

       -p
	   Use a passphrase as a component of the keyfile

       -l keylen
	   Key length (in bits)	to use with the	given crypto algorithm.	By
	   default is 128 bits

       -i iter
	   Number of iterations	to use with PKCS#5v2 when processing
	   passphrase component. By defualt is 4096.

       -y
	   Overwrite output file without promt

       -h
	   Print short help

   Algorithms
       Supported symmetric crypto algorithms: Anubis, Blowfish,	Camellia,
       CAST6, RC6, Rijndael, SEED, Serpent, Twofish, Threefish-256,
       Threefish-512, Threefish-1024

   Modes
       Supported crypto	modes: ECB, CBC, OFB, CTR, CFB

   Key length
       Anubis
	   128,	192, 256, 320

       Blowfish
	   128,	160, 192, 224, 256, 288, 320, 352, 384,	416, 448

       Camellia
	   128,	192, 256

       CAST6
	   128,	192, 256

       RC6
	   128,	192, 256

       Rijndael
	   128,	192, 256

       SEED
	   128

       Serpent
	   128,	192, 256

       Threefish-256
	   256

       Threefish-512
	   512

       Threefish-1024
	   1024

       Twofish
	   128,	192, 256

HASHING

       akmos dgst [-a algo] [-b] [-h] input...

   Options
       -a algo
	   Digest algorithm to use. By default is SHA2-256

       -b
	   Output result in binary format. By default use hexadecimal

       -h
	   Print short help

   Algorithms
       Supported digest	algorithms: RIPEMD-160,	RIPEMD-256, RIPEMD-320,	SHA1,
       SHA2-224, SHA2-256, SHA2-384, SHA2-512, SHA3-224, SHA3-256, SHA3-384,
       SHA3-512, TIGER,	WHIRLPOOL

MESSAGE	AUTHENTICATION CODE (MAC)

       akmos mac [-a algo] [-m mode] [-k keyfile] [-l keylen] [-p] [-b]	[-h]
		 input...

   Options
       -m mode
	   MAC mode to use. By default is HMAC

       -a algo
	   Algorithm to	use. By	default	is SHA2-256 for	HMAC mode

       -k keyfile
	   Specifies a file which contains the keyfile

	   NOTE: size of keyfile is limited by 1 MiB

       -p
	   Use a passphrase as a component of the keyfile

       -l keylen
	   Key length (in bits)	to use with the	given algorithm.

	   NOTE: used in CBC-MAC mode

       -b
	   Output computed MAC in raw (binary) form.

       -h
	   Print short help

   Modes
       Supported MAC modes: HMAC, CBC-MAC, CMAC

EXIT STATUS
       The akmos utility exits 0 on successful completion, and >0 otherwise

AUTHOR
       Andrew Romanenko	<melanhit@gmail.com>

akmos 0.5.1			  March, 2016			      AKMOS(1)

NAME | SYNOPSIS | DESCRIPTION | SYMMETRIC CIPHERING | HASHING | MESSAGE AUTHENTICATION CODE (MAC) | EXIT STATUS | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=akmos&sektion=1&manpath=FreeBSD+11.1-RELEASE+and+Ports>

home | help