nyx-cardcrypto man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

NYX-CARDCRYPTO(1)     User Contributed Perl Documentation    NYX-CARDCRYPTO(1)

NAME
       nyx-cardcrypto - Uses Rijndael algoritm to encrypt or decrypt data

SYNOPSIS
       nyx-cardcrypto [-h] -e|-d [-n|-b|-H] [-k <64 char hex key>] <data>

DESCRIPTION
       Uses Rijndael algoritm to encrypt or decrypt data.

	-h	  short help
	-e	  encrypt mode
	-d	  decrypt mode
	-k key	  key (nyx uses a 256bit key that hex encoded is 64 characters wide)
		   default: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
	input format when encoding: default: "as is"
	-b	  base64 encoded
	-H	  hexencoded
	output format when decoding: default: "as is" + newline
	-n	  supress newline
	-b	  base64 encoded
	-H	  hexencoded
	Last argument is the data top operate on. Please use single quotes from shell.

EXAMPLES
       $ nyx-cardcrypto -e \
	-k 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef \
	'hej'
	2da1616b440605837ac9c6499611cb85a2c742913717bff8f921dd8638145c71

       $ nyx-cardcrypto -d \
	-k 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef \
	2da1616b440605837ac9c6499611cb85a2c742913717bff8f921dd8638145c71
	hej

NOTICE
       Rijndael is a block cipher which means that the the input plaintext
       when encrypting data needs to be padded to enen block limits. Block
       size is 256 bits (32 ascii characters).	Data is padded with '\0' and
       these could be seen when decryptig data.

       $ nyx-cardcrypto -d -n \
	-k 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef \
	2da1616b440605837ac9c6499611cb85a2c742913717bff8f921dd8638145c71 \
	| od -tx1c
	0000000 68  65	6a  00	00  00	00  00	00  00	00  00	00  00	00  00
		h   e	j   \0	\0  \0	\0  \0	\0  \0	\0  \0	\0  \0	\0  \0
	0000020 00  00	00  00	00  00	00  00	00  00	00  00	00  00	00  00
		\0  \0	\0  \0	\0  \0	\0  \0	\0  \0	\0  \0	\0  \0	\0  \0
	0000040

	or

       $ nyx-cardcrypto -d -H \
	-k 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef \
	2da1616b440605837ac9c6499611cb85a2c742913717bff8f921dd8638145c71 \
	68656a0000000000000000000000000000000000000000000000000000000000

SEE ALSO
       nyx(1)

perl v5.10.0			  2011-03-06		     NYX-CARDCRYPTO(1)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net