Query: cn
OS: osx
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
cn(1) BSD General Commands Manual cn(1)NAMEcn, -- Command line interface to CommonNumerics routines.SYNOPSIScn, [-p prompt] [command] [command_options] [command_args]DESCRIPTIONA simple command line utility allowing you to perform CRC and Base Encode/Decode with the Common Numerics functions. cn, has the following standard options for all sub-commands: -h Show help information. -a Use the specified algorithm. The CRC, Encode, and Decode commands have various algorithms that can be used on data provided to them. -s -<string> Performs the operation on the specified string value. -v Function in Verbose mode.CN COMMAND SUMMARYcn, currently only provides functions for two activities: CRC calculation and Base Encoding and Decoding (base16, base32, base64). Here are brief descriptions of all the cn, commands: crc Perform a CRC on the data provided either as a string or on stdin. Algorithms 10 - kCN_CRC_8 11 - kCN_CRC_8_ICODE 12 - kCN_CRC_8_ITU 13 - kCN_CRC_8_ROHC 14 - kCN_CRC_8_WCDMA 20 - kCN_CRC_16 21 - kCN_CRC_16_CCITT_TRUE 22 - kCN_CRC_16_CCITT_FALSE 23 - kCN_CRC_16_USB 24 - kCN_CRC_16_XMODEM 25 - kCN_CRC_16_DECT_R 26 - kCN_CRC_16_DECT_X 27 - kCN_CRC_16_ICODE 28 - kCN_CRC_16_VERIFONE 29 - kCN_CRC_16_A 30 - kCN_CRC_16_B 31 - kCN_CRC_16_Fletcher 40 - kCN_CRC_32_Adler 41 - kCN_CRC_32 42 - kCN_CRC_32_CASTAGNOLI 43 - kCN_CRC_32_BZIP2 44 - kCN_CRC_32_MPEG_2 45 - kCN_CRC_32_POSIX 46 - kCN_CRC_32_XFER 60 - kCN_CRC_64_ECMA_182 Encode|Decode Encode or Decode data provided either as a string or on stdin using one of the algorithms specified below. Algorithms 1 - kCNEncodingBase64 2 - kCNEncodingBase32 3 - kCNEncodingBase32Recovery 4 - kCNEncodingBase32HEX 5 - kCNEncodingBase16ENVIRONMENTCN_READ_SIZE The "read size" to use when processing incoming data. CN_WIDTH The number of columns in which to output data when performing a base encoding. The default is 64 columns.HISTORYcn, was introduced in Mac OS X version 10.9 and iOS version 7.0. Darwin June 2, 2019 Darwin
Related Man Pages |
---|
crc32(n) - redhat |
encode::encoder(3pm) - redhat |
crc16(n) - osx |
encode::encoder(3pm) - mojave |
encode::encoder(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
CRC Code |
DUNE (Numerics) 1.1 (Default branch) |
C Algorithms Library 1.2.0 (Default branch) |
Decode %s Special Character in Sed |
Decode a file |