bytes
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 478
Number::Bytes::Human 0.07
Number::Bytes::Human is a Perl module that can convert byte count to human readable format. more>>
Number::Bytes::Human is a Perl module that can convert byte count to human readable format.
SYNOPSIS
use Number::Bytes::Human qw(format_bytes);
$size = format_bytes(0); # 0
$size = format_bytes(2*1024); # 2.0K
$size = format_bytes(1_234_890, bs => 1000); # 1.3M
$size = format_bytes(1E9, bs => 1000); # 1.0G
# the OO way
$human = Number::Bytes::Human->new(bs => 1000, si => 1);
$size = $human->format(1E7); # 10MB
$human->set_options(zero => -);
$size = $human->format(0); # -
THIS IS ALPHA SOFTWARE: THE DOCUMENTATION AND THE CODE WILL SUFFER CHANGES SOME DAY (THANKS, GOD!).
This module provides a formatter which turns byte counts to usual readable format, like 2.0K, 3.1G, 100B. It was inspired in the -h option of Unix utilities like du, df and ls for "human-readable" output.
From the FreeBSD man page of df: http://www.freebsd.org/cgi/man.cgi?query=df
"Human-readable" output. Use unit suffixes: Byte, Kilobyte,
Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
number of digits to four or fewer using base 2 for sizes.
byte B
kilobyte K = 2**10 B = 1024 B
megabyte M = 2**20 B = 1024 * 1024 B
gigabyte G = 2**30 B = 1024 * 1024 * 1024 B
terabyte T = 2**40 B = 1024 * 1024 * 1024 * 1024 B
petabyte P = 2**50 B = 1024 * 1024 * 1024 * 1024 * 1024 B
exabyte E = 2**60 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
zettabyte Z = 2**70 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
yottabyte Y = 2**80 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
I have found this link to be quite useful:
http://www.t1shopper.com/tools/calculate/
If you feel like a hard-drive manufacturer, you can start counting bytes by powers of 1000 (instead of the generous 1024). Just use bs => 1000.
But if you are a floppy disk manufacturer and want to start counting in units of 1024000 (for your "1.44 MB" disks)? Then use bs => 1_024_000.
If you feel like a purist academic, you can force the use of metric prefixes according to the Dec 1998 standard by the IEC. Never mind the units for base 1000 are (B, kB, MB, GB, TB, PB, EB, ZB, YB) and, even worse, the ones for base 1024 are (B, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB) with the horrible names: bytes, kibibytes, mebibytes, etc. All you have to do is to use si => 1. Aint that beautiful the SI system? Read about it:
http://physics.nist.gov/cuu/Units/binary.html
You can try a pure Perl "ls -lh"-inspired command with the one-liner, er, two-liner:
$ perl -MNumber::Bytes::Human=format_bytes
-e printf "%5s %sn", format_bytes(-s), $_ for @ARGV *
Why to write such a module? Because if people can write such things in C, it can be written much easier in Perl and then reused, refactored, abused. And then, when it is much improved, some brave soul can port it back to C (if only for the warm feeling of painful programming).
<<lessSYNOPSIS
use Number::Bytes::Human qw(format_bytes);
$size = format_bytes(0); # 0
$size = format_bytes(2*1024); # 2.0K
$size = format_bytes(1_234_890, bs => 1000); # 1.3M
$size = format_bytes(1E9, bs => 1000); # 1.0G
# the OO way
$human = Number::Bytes::Human->new(bs => 1000, si => 1);
$size = $human->format(1E7); # 10MB
$human->set_options(zero => -);
$size = $human->format(0); # -
THIS IS ALPHA SOFTWARE: THE DOCUMENTATION AND THE CODE WILL SUFFER CHANGES SOME DAY (THANKS, GOD!).
This module provides a formatter which turns byte counts to usual readable format, like 2.0K, 3.1G, 100B. It was inspired in the -h option of Unix utilities like du, df and ls for "human-readable" output.
From the FreeBSD man page of df: http://www.freebsd.org/cgi/man.cgi?query=df
"Human-readable" output. Use unit suffixes: Byte, Kilobyte,
Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
number of digits to four or fewer using base 2 for sizes.
byte B
kilobyte K = 2**10 B = 1024 B
megabyte M = 2**20 B = 1024 * 1024 B
gigabyte G = 2**30 B = 1024 * 1024 * 1024 B
terabyte T = 2**40 B = 1024 * 1024 * 1024 * 1024 B
petabyte P = 2**50 B = 1024 * 1024 * 1024 * 1024 * 1024 B
exabyte E = 2**60 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
zettabyte Z = 2**70 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
yottabyte Y = 2**80 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
I have found this link to be quite useful:
http://www.t1shopper.com/tools/calculate/
If you feel like a hard-drive manufacturer, you can start counting bytes by powers of 1000 (instead of the generous 1024). Just use bs => 1000.
But if you are a floppy disk manufacturer and want to start counting in units of 1024000 (for your "1.44 MB" disks)? Then use bs => 1_024_000.
If you feel like a purist academic, you can force the use of metric prefixes according to the Dec 1998 standard by the IEC. Never mind the units for base 1000 are (B, kB, MB, GB, TB, PB, EB, ZB, YB) and, even worse, the ones for base 1024 are (B, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB) with the horrible names: bytes, kibibytes, mebibytes, etc. All you have to do is to use si => 1. Aint that beautiful the SI system? Read about it:
http://physics.nist.gov/cuu/Units/binary.html
You can try a pure Perl "ls -lh"-inspired command with the one-liner, er, two-liner:
$ perl -MNumber::Bytes::Human=format_bytes
-e printf "%5s %sn", format_bytes(-s), $_ for @ARGV *
Why to write such a module? Because if people can write such things in C, it can be written much easier in Perl and then reused, refactored, abused. And then, when it is much improved, some brave soul can port it back to C (if only for the warm feeling of painful programming).
Download (0.009MB)
Added: 2007-07-03 License: Perl Artistic License Price:
844 downloads
bytetraf 1.0
bytetraf is a small tool for monitoring traffic to and from your machine. more>>
bytetraf project is a small tool for monitoring traffic to and from your machine.
The following information is printed to stdout at a specified time interval: time, interface, bytes received, bytes transfered, and rate.
<<lessThe following information is printed to stdout at a specified time interval: time, interface, bytes received, bytes transfered, and rate.
Download (0.004MB)
Added: 2006-08-17 License: GPL (GNU General Public License) Price:
1164 downloads
ByteName 1.12
ByteName project is a tool that for each byte of the input prints a line consisting of the byte offset. more>>
ByteName project is a tool that for each byte of the input prints a line consisting of the byte offset, the hex value of the byte, the octal value of the byte, and its description in Latin-1, Latin-2, WinLatin1, WinLatin2, or EBCDIC.
A command line flag suppresses printing of bytes within the ASCII range which is useful for locating stray non-ASCII codes.
The available encodings are:
- Latin-1 (ISO-8859-1)
- Latin-2 (ISO-8859-2)
- WinLatin1 (Microsoft Codepage 1252
- WinLatin2 (Microsoft Codepage 1250
- EBCDIC-037 (IBM Codepage 037)
Enhancements:
- This release adds MS DOS Codepages 437 and 850.
- Bugs in MS Windows Codepage 1252 were fixed.
<<lessA command line flag suppresses printing of bytes within the ASCII range which is useful for locating stray non-ASCII codes.
The available encodings are:
- Latin-1 (ISO-8859-1)
- Latin-2 (ISO-8859-2)
- WinLatin1 (Microsoft Codepage 1252
- WinLatin2 (Microsoft Codepage 1250
- EBCDIC-037 (IBM Codepage 037)
Enhancements:
- This release adds MS DOS Codepages 437 and 850.
- Bugs in MS Windows Codepage 1252 were fixed.
Download (0.079MB)
Added: 2007-01-30 License: GPL (GNU General Public License) Price:
998 downloads
Des a1
Des package contains the Des extension module for Perl. more>>
Des package contains the Des extension module for Perl.
The Des extension module gives access to the DES library.
The following is a brief and over-simplified description of the relevant stuff about DES.
DES keys are 8-byte blocks. A key is passed to a perl function as an 8-byte string. Before keys can be used to encrypt or decrypt data, the key needs to be transformed into a key schedule using the function set_key. There is a certain amount of overhead in creating these key schedules (which are 128 bytes or 256 bytes depending on implementation and architecture) so they can be created and cached for later if desired. Encryption and decryption can be done in 3 modes:
ECB (electronic code book) mode
Takes a des_cblock (perl 8-byte string) and produces another des_cblock. (Very rarely useful for large amounts of plain text, subject to known plaintext attacks under certain circumstances, only slightly faster than CBC or PCBC mode, and you lose even this advantage in perl).
CBC (cipher block chaining) mode
Takes an arbitrary length string, pads it out (internally) on the right with NULs to a multiple of 8-bytes. Encrypts/decrypts the data and produces output (same size as padded input) which is an exact multiple of 8 bytes long. Changing a single bit of the cleartext affects all the following ciphertext. However, changing a single bit of the ciphertext affects only the corresponding cleartext block and the following block. This is occasionally an advantage but is usually a disadvantage.
PCBC mode
A modified CBC mode with indefinite proagation of single bit errors both from cleartext to ciphertext and from ciphertext to cleartext. "Usually" the best mode (for certain values of "usually").
Functions imported by use Des.
string_to_key (STRING)
Takes an arbitrary STRING and munges it (with a one-way function) into a DES key, which is returned.
set_key (KEY)
The DES key KEY (which must be a string of exactly 8 bytes) is turned into a key schedule which is returned.
ecb_encrypt (INPUT, SCHEDULE)
The INPUT argument (which must be a string of exactly 8 bytes) is encrypted using ECB mode using key schedule SCHEDULE (created using set_key) and the resulting 8-byte string is returned.
ecb_decrypt (INPUT, SCHEDULE)
The INPUT argument (which must be a string of exactly 8 bytes) is decrypted using ECB mode using key schedule SCHEDULE (created using set_key) and the resulting 8-byte string is returned.
cbc_encrypt (INPUT, OUTPUT, SCHEDULE, IV)
The INPUT argument can be of arbitrary length, although it will be internally padded on the right with NULs to the nearest multiple of 8 bytes. INPUT is taken and encrypted using CBC mode with key schedule SCHEDULE and initialisation vector IV. If OUTPUT is not undef then it assumed to be an lvalue which is grown (if necessary) and receives the encrypted output. Whether or not OUTPUT is undef, the output is also available as the return value of the function.
cbc_decrypt (INPUT, OUTPUT, SCHEDULE, IV)
The INPUT argument can be of arbitrary length, although it will be internally padded on the right with NULs to the nearest multiple of 8 bytes. INPUT is taken and decrypted using CBC mode with key schedule SCHEDULE and initialisation vector IV. If OUTPUT is not undef then it assumed to be an lvalue which is grown (if necessary) and receives the decrypted output. Whether or not OUTPUT is undef, the output is also available as the return value of the function.
pcbc_encrypt (INPUT, OUTPUT, SCHEDULE, IV)
The INPUT argument can be of arbitrary length, although it will be internally padded on the right with NULs to the nearest multiple of 8 bytes. INPUT is taken and encrypted using PCBC mode with key schedule SCHEDULE and initialisation vector IV. If OUTPUT is not undef then it assumed to be an lvalue which is grown (if necessary) and receives the encrypted output. Whether or not OUTPUT is undef, the output is also available as the return value of the function.
pcbc_decrypt (INPUT, OUTPUT, SCHEDULE, IV)
The INPUT argument can be of arbitrary length, although it will be internally padded on the right with NULs to the nearest multiple of 8 bytes. INPUT is taken and decrypted using PCBC mode with key schedule SCHEDULE and initialisation vector IV. If OUTPUT is not undef then it assumed to be an lvalue which is grown (if necessary) and receives the decrypted output. Whether or not OUTPUT is undef, the output is also available as the return value of the function.
pcbc_cksum (INPUT, SCHEDULE, IV)
The INPUT argument can be of arbitrary length, although it will be internally padded on the right with NULs to the nearest multiple of 8 bytes. CBC mode is used to generate an 8-byte cryptographic checksum using key schedule SCHEDULE and initialisation vector IV. This checksum is returned.
Functions in package Des which can be imported
random_key ()
Produces a random DES key based on current time, PID and a counter.
read_password (PROMPT [, VERIFY])
Prints PROMPT on the terminal, turns off echo if possible and reads a password from the keyboard. If the optional VERIFY argument is present and true than the password is prompted for a second time and the two are compared. If different, the prompting is repeated. The resulting string is turned into a DES key (using string_to_key (q.v.) internally) and that key is returned.
<<lessThe Des extension module gives access to the DES library.
The following is a brief and over-simplified description of the relevant stuff about DES.
DES keys are 8-byte blocks. A key is passed to a perl function as an 8-byte string. Before keys can be used to encrypt or decrypt data, the key needs to be transformed into a key schedule using the function set_key. There is a certain amount of overhead in creating these key schedules (which are 128 bytes or 256 bytes depending on implementation and architecture) so they can be created and cached for later if desired. Encryption and decryption can be done in 3 modes:
ECB (electronic code book) mode
Takes a des_cblock (perl 8-byte string) and produces another des_cblock. (Very rarely useful for large amounts of plain text, subject to known plaintext attacks under certain circumstances, only slightly faster than CBC or PCBC mode, and you lose even this advantage in perl).
CBC (cipher block chaining) mode
Takes an arbitrary length string, pads it out (internally) on the right with NULs to a multiple of 8-bytes. Encrypts/decrypts the data and produces output (same size as padded input) which is an exact multiple of 8 bytes long. Changing a single bit of the cleartext affects all the following ciphertext. However, changing a single bit of the ciphertext affects only the corresponding cleartext block and the following block. This is occasionally an advantage but is usually a disadvantage.
PCBC mode
A modified CBC mode with indefinite proagation of single bit errors both from cleartext to ciphertext and from ciphertext to cleartext. "Usually" the best mode (for certain values of "usually").
Functions imported by use Des.
string_to_key (STRING)
Takes an arbitrary STRING and munges it (with a one-way function) into a DES key, which is returned.
set_key (KEY)
The DES key KEY (which must be a string of exactly 8 bytes) is turned into a key schedule which is returned.
ecb_encrypt (INPUT, SCHEDULE)
The INPUT argument (which must be a string of exactly 8 bytes) is encrypted using ECB mode using key schedule SCHEDULE (created using set_key) and the resulting 8-byte string is returned.
ecb_decrypt (INPUT, SCHEDULE)
The INPUT argument (which must be a string of exactly 8 bytes) is decrypted using ECB mode using key schedule SCHEDULE (created using set_key) and the resulting 8-byte string is returned.
cbc_encrypt (INPUT, OUTPUT, SCHEDULE, IV)
The INPUT argument can be of arbitrary length, although it will be internally padded on the right with NULs to the nearest multiple of 8 bytes. INPUT is taken and encrypted using CBC mode with key schedule SCHEDULE and initialisation vector IV. If OUTPUT is not undef then it assumed to be an lvalue which is grown (if necessary) and receives the encrypted output. Whether or not OUTPUT is undef, the output is also available as the return value of the function.
cbc_decrypt (INPUT, OUTPUT, SCHEDULE, IV)
The INPUT argument can be of arbitrary length, although it will be internally padded on the right with NULs to the nearest multiple of 8 bytes. INPUT is taken and decrypted using CBC mode with key schedule SCHEDULE and initialisation vector IV. If OUTPUT is not undef then it assumed to be an lvalue which is grown (if necessary) and receives the decrypted output. Whether or not OUTPUT is undef, the output is also available as the return value of the function.
pcbc_encrypt (INPUT, OUTPUT, SCHEDULE, IV)
The INPUT argument can be of arbitrary length, although it will be internally padded on the right with NULs to the nearest multiple of 8 bytes. INPUT is taken and encrypted using PCBC mode with key schedule SCHEDULE and initialisation vector IV. If OUTPUT is not undef then it assumed to be an lvalue which is grown (if necessary) and receives the encrypted output. Whether or not OUTPUT is undef, the output is also available as the return value of the function.
pcbc_decrypt (INPUT, OUTPUT, SCHEDULE, IV)
The INPUT argument can be of arbitrary length, although it will be internally padded on the right with NULs to the nearest multiple of 8 bytes. INPUT is taken and decrypted using PCBC mode with key schedule SCHEDULE and initialisation vector IV. If OUTPUT is not undef then it assumed to be an lvalue which is grown (if necessary) and receives the decrypted output. Whether or not OUTPUT is undef, the output is also available as the return value of the function.
pcbc_cksum (INPUT, SCHEDULE, IV)
The INPUT argument can be of arbitrary length, although it will be internally padded on the right with NULs to the nearest multiple of 8 bytes. CBC mode is used to generate an 8-byte cryptographic checksum using key schedule SCHEDULE and initialisation vector IV. This checksum is returned.
Functions in package Des which can be imported
random_key ()
Produces a random DES key based on current time, PID and a counter.
read_password (PROMPT [, VERIFY])
Prints PROMPT on the terminal, turns off echo if possible and reads a password from the keyboard. If the optional VERIFY argument is present and true than the password is prompted for a second time and the two are compared. If different, the prompting is repeated. The resulting string is turned into a DES key (using string_to_key (q.v.) internally) and that key is returned.
Download (0.010MB)
Added: 2007-05-10 License: Perl Artistic License Price:
897 downloads
YASP 0.4
YASP project is a lightweight network protocol for micro controllers. more>>
YASP project is a lightweight network protocol for micro controllers.
YASP is a simple and open protocol for building networks with small microcontrollers. It is designed to have a small footprint for easy implementation with minimal hardware resources, but without sacrifice advanced features and future growth.
The protocol scalability is implemented using variable length fields.
The physical layer use the NRZ encoding as in RS-232, but using dominant and recessive bus states to provide a reliable way to detect collisions.
Main features:
- Node adresses: 1 to n bytes
- Medium access: CDMA/CS/NDA (Carrier Sense Multiple Access / Collision Detection / Non-Destructive Arbitration)
- Addressing modes: unicast, broadcast and multicast
- Smallest frame: 6 bytes
- Error detection: CRC16
- Bus signaling: 1-wire "open collector" or 2-wire diferential (CAN transceiver)
- Current PIC implementation: about 480 words of code and 25 bytes of RAM (interrupt driven)
Enhancements:
- Fixed minor framing bugs that affect reception of consecutive frames.
- Added sample code for analog inputs node using 16f876.
<<lessYASP is a simple and open protocol for building networks with small microcontrollers. It is designed to have a small footprint for easy implementation with minimal hardware resources, but without sacrifice advanced features and future growth.
The protocol scalability is implemented using variable length fields.
The physical layer use the NRZ encoding as in RS-232, but using dominant and recessive bus states to provide a reliable way to detect collisions.
Main features:
- Node adresses: 1 to n bytes
- Medium access: CDMA/CS/NDA (Carrier Sense Multiple Access / Collision Detection / Non-Destructive Arbitration)
- Addressing modes: unicast, broadcast and multicast
- Smallest frame: 6 bytes
- Error detection: CRC16
- Bus signaling: 1-wire "open collector" or 2-wire diferential (CAN transceiver)
- Current PIC implementation: about 480 words of code and 25 bytes of RAM (interrupt driven)
Enhancements:
- Fixed minor framing bugs that affect reception of consecutive frames.
- Added sample code for analog inputs node using 16f876.
Download (0.19MB)
Added: 2007-01-16 License: LGPL (GNU Lesser General Public License) Price:
1014 downloads
WAVE Utilities 1.18
WAVE Utilities package contains three programs for dealing with WAVE format audio files. more>>
WAVE Utilities package contains three programs for dealing with WAVE format audio files.
SimplifyWave
The standard permits WAVE format audio files to contain a variety of chunks, such as playlists, cue lists, and padding. A fair amount of software, however, is unable to parse such complex files. This program converts complex WAVE files into the simplest standard-conforming format by stripping out everything other than the obligatory format chunk and the first data chunk. Messages are printed indicating what chunks have been removed.
RepairWave
Some software generates non-conformant files that purport to be WAVE files. They contain a WAVE header but lack the obligatory data chunk id and size information. The audio data immediately follows the header. This program inserts the missing data chunk id and size information and updates the WAVE chunk size information in the header to reflect this.
InfoWave
Extracts information from a RIFF/WAV or RIFX/WAV file and reports on the contents of the file. It shows the size, type, and location of each chunk and gives the encoding of the audio data, its sampling rate, resolution, number of channels and other information. Typical output looks like this:
0: RIFF identifier.
4: chunk size = 38,642 bytes.
8: WAV identifier.
12: format chunk identifier
16: format chunk size = 18 bytes.
20: data format: PCM.
22: one channel (mono).
24: Sampling Rate = 11,025 samples per second.
28: Average Data Rate = 11,025 bytes per second.
32: Bytes_Per_Sample value of 1 indicates 8-bit mono
34: Bits_Per_Sample = 8.
36: chunk id
40: chunk length
44: chunk of type fact (standard) length 4 bytes
48: chunk id
52: chunk length
56: chunk of type data (standard) length 38,591 bytes
amounting to 0 minutes and 3.5 seconds
These programs were originally called SimplifyWav, wavrepair, and wavinfo.
Enhancements:
- The programs have been adapted to run correctly on 64-bit architectures as well as 32-bit architectures.
- They should now compile on systems whose printf does not support thousands separators.
<<lessSimplifyWave
The standard permits WAVE format audio files to contain a variety of chunks, such as playlists, cue lists, and padding. A fair amount of software, however, is unable to parse such complex files. This program converts complex WAVE files into the simplest standard-conforming format by stripping out everything other than the obligatory format chunk and the first data chunk. Messages are printed indicating what chunks have been removed.
RepairWave
Some software generates non-conformant files that purport to be WAVE files. They contain a WAVE header but lack the obligatory data chunk id and size information. The audio data immediately follows the header. This program inserts the missing data chunk id and size information and updates the WAVE chunk size information in the header to reflect this.
InfoWave
Extracts information from a RIFF/WAV or RIFX/WAV file and reports on the contents of the file. It shows the size, type, and location of each chunk and gives the encoding of the audio data, its sampling rate, resolution, number of channels and other information. Typical output looks like this:
0: RIFF identifier.
4: chunk size = 38,642 bytes.
8: WAV identifier.
12: format chunk identifier
16: format chunk size = 18 bytes.
20: data format: PCM.
22: one channel (mono).
24: Sampling Rate = 11,025 samples per second.
28: Average Data Rate = 11,025 bytes per second.
32: Bytes_Per_Sample value of 1 indicates 8-bit mono
34: Bits_Per_Sample = 8.
36: chunk id
40: chunk length
44: chunk of type fact (standard) length 4 bytes
48: chunk id
52: chunk length
56: chunk of type data (standard) length 38,591 bytes
amounting to 0 minutes and 3.5 seconds
These programs were originally called SimplifyWav, wavrepair, and wavinfo.
Enhancements:
- The programs have been adapted to run correctly on 64-bit architectures as well as 32-bit architectures.
- They should now compile on systems whose printf does not support thousands separators.
Download (0.077MB)
Added: 2007-05-13 License: GPL (GNU General Public License) Price:
903 downloads
AESCrypt 0.7
AESCrypt is a program for encrypting/decrypting streams of data using Rijndael and Cipher Block Feedback mode (CFB-128). more>>
AESCrypt is a program for encrypting/decrypting streams of data using Rijndael and Cipher Block Feedback mode (CFB-128).
Encrypt/decrypt stdin using the Advanced Encryption Standard winner "Rijndael" encryption algorithm in Cipher Block Feedback (stream) mode. Uses /dev/urandom to create a salt. Prepends the output stream with salt when encrypting, strips it off when decrypting.
Keyfile format:
kk=hexdits
where hexdits is:
32 chars for 128 bit
48 chars for 196 bits.
64 chars for 256 bits
Note that there may be other text in the file. The key must be at start of a line, and must start with kk=, and must be hex.
If the key file is "-", it instead reads the hex-coded key bytes off stdin and treats them as a null-terminated hex key. Care must be taken when reading the key from stdin, as you must supply exactly 33 bytes for 128 bit keys, 49 bytes for 192 bit keys, and 65 bytes for 256 bit keys. The stdin functionality is useful in those cases where having the unencrypted key in a file is undesirable, but it is less forgiving in terms of key format.
Version restrictions:
- 1. The keyfile is *NOT* encrypted.
- 2. Now supports 192 and 256 bit keys! 128 bits is the default, so it is backward compatible with aescrypt versions not endowed with the -s option.
- 3. Need a key generator! ( This should be a simple shell script -- use dd to grab some data, then md5sum to create a hex mix of that data, then awk to grab the hex part of the output of md5sum ).
- 4. Relies upon having /dev/urandom. See the Ocotillo PRNG if you dont have a /dev/urandom.
- 5. This program was deliberately kept extremely simple. It is not intended to be a full encryption solution, it is intended to be used within scripts as part of a complete solution. Keychain management, public key signatures, etc. are all expected to be done external to this program.
<<lessEncrypt/decrypt stdin using the Advanced Encryption Standard winner "Rijndael" encryption algorithm in Cipher Block Feedback (stream) mode. Uses /dev/urandom to create a salt. Prepends the output stream with salt when encrypting, strips it off when decrypting.
Keyfile format:
kk=hexdits
where hexdits is:
32 chars for 128 bit
48 chars for 196 bits.
64 chars for 256 bits
Note that there may be other text in the file. The key must be at start of a line, and must start with kk=, and must be hex.
If the key file is "-", it instead reads the hex-coded key bytes off stdin and treats them as a null-terminated hex key. Care must be taken when reading the key from stdin, as you must supply exactly 33 bytes for 128 bit keys, 49 bytes for 192 bit keys, and 65 bytes for 256 bit keys. The stdin functionality is useful in those cases where having the unencrypted key in a file is undesirable, but it is less forgiving in terms of key format.
Version restrictions:
- 1. The keyfile is *NOT* encrypted.
- 2. Now supports 192 and 256 bit keys! 128 bits is the default, so it is backward compatible with aescrypt versions not endowed with the -s option.
- 3. Need a key generator! ( This should be a simple shell script -- use dd to grab some data, then md5sum to create a hex mix of that data, then awk to grab the hex part of the output of md5sum ).
- 4. Relies upon having /dev/urandom. See the Ocotillo PRNG if you dont have a /dev/urandom.
- 5. This program was deliberately kept extremely simple. It is not intended to be a full encryption solution, it is intended to be used within scripts as part of a complete solution. Keychain management, public key signatures, etc. are all expected to be done external to this program.
Download (0.061MB)
Added: 2006-07-13 License: BSD License Price:
1203 downloads
tc-viewer 1.5
tc-viewer provides the ability to watch current transfers that take place in HTB and HFSC traffic shaping classes. more>>
tc-viewer provides the ability to watch current transfers that take place in HTB and HFSC traffic shaping classes on specified interface.
tc-viewer reads output from: tc -s class show dev iface, and analyzes (for each class) values in lines like this one :
Sent 6173259431 bytes 6300224 pkt...
Measured speeds may little vary from the real ones.
<<lesstc-viewer reads output from: tc -s class show dev iface, and analyzes (for each class) values in lines like this one :
Sent 6173259431 bytes 6300224 pkt...
Measured speeds may little vary from the real ones.
Download (0.008MB)
Added: 2006-11-18 License: GPL (GNU General Public License) Price:
1080 downloads
Unicode Utilities 2.25
Unicode Utilities project are a set of programs for manipulating and analyzing Unicode text. more>>
Unicode Utilities project are a set of programs for manipulating and analyzing Unicode text. uniname defaults to printing the character offset of each character, its byte offset, its hex code value, its encoding, the glyph itself, and its name. Command line options allow undesired information to be suppressed and the Unicode range to be added.
unidesc reports the character ranges to which different portions of the text belong. unihist generates a histogram of the characters in its input. ExplicateUTF8 is intended for debugging or for learning about Unicode. It determines and explains the validity of a sequence of bytes as a UTF-8 encoding. unirev reverses UTF-8 strings.
Enhancements:
- Adds to unidesc the option -r which causes it to list the ranges detected after reading all input rather than listing them as they are encountered, and adds to uniname the option -B which causes it to ignore characters within the Basic Multilingual Plane.
<<lessunidesc reports the character ranges to which different portions of the text belong. unihist generates a histogram of the characters in its input. ExplicateUTF8 is intended for debugging or for learning about Unicode. It determines and explains the validity of a sequence of bytes as a UTF-8 encoding. unirev reverses UTF-8 strings.
Enhancements:
- Adds to unidesc the option -r which causes it to list the ranges detected after reading all input rather than listing them as they are encountered, and adds to uniname the option -B which causes it to ignore characters within the Basic Multilingual Plane.
Download (0.25MB)
Added: 2007-07-04 License: GPL (GNU General Public License) Price:
849 downloads
Tiny serial terminal 1.1
Tiny serial terminal is a simple and dumb tool to access serial ports. more>>
Tiny serial terminal is a simple and dumb tool to access serial ports. Mainly intended for use to access serial consoles of various hardware.
Usage:
Download: com.c
Version : 1.1
Size : 4607 bytes
MD5 : 73a394b6d5ad333c2bf542315e1a0b73
SHA1 : 53c8ea8a1d5450ac4237a20c843e1462acaaa96e
Building: cc -o com com.c
Usage : ./com /dev/device [speed]
Example : ./com /dev/ttyS0 [115200]
Keys : Ctrl-A - exit, Ctrl-X - display control lines status
Darcs : darcs get http://tinyserial.sf.net/
Scr.shot: screenshot.png (8862 bytes)
<<lessUsage:
Download: com.c
Version : 1.1
Size : 4607 bytes
MD5 : 73a394b6d5ad333c2bf542315e1a0b73
SHA1 : 53c8ea8a1d5450ac4237a20c843e1462acaaa96e
Building: cc -o com com.c
Usage : ./com /dev/device [speed]
Example : ./com /dev/ttyS0 [115200]
Keys : Ctrl-A - exit, Ctrl-X - display control lines status
Darcs : darcs get http://tinyserial.sf.net/
Scr.shot: screenshot.png (8862 bytes)
Download (0.005MB)
Added: 2006-08-21 License: BSD License Price:
1208 downloads
petardfs 0.0.2
petardfs is a FUSE filesystem designed to hoist your applications with errors. more>>
petardfs is a FUSE filesystem designed to hoist your applications with errors. With no configuration, petardfs takes a base filesystem and exposes it through FUSE.
An XML configuration file is used to tell petardfs which files to report errors for and what error code to use. For example, foo.txt can have an EIO error at bytes 34 to 37.
There is explicit support for errors such as EAGAIN and EINTR, where petardfs will only report such transient errors a nominated number of times. This is handy for testing applications that support such I/O conditions gracefully.
<<lessAn XML configuration file is used to tell petardfs which files to report errors for and what error code to use. For example, foo.txt can have an EIO error at bytes 34 to 37.
There is explicit support for errors such as EAGAIN and EINTR, where petardfs will only report such transient errors a nominated number of times. This is handy for testing applications that support such I/O conditions gracefully.
Download (0.28MB)
Added: 2007-03-20 License: GPL (GNU General Public License) Price:
948 downloads
bufsock.py 1.1
bufsock.py is a python module that makes it a little bit easier to work with sockets. more>>
bufsock.py is a python module that makes it a little bit easier to work with sockets, and may also make your I/O faster if youre reading and/or writing lots of tiny packets.
Also, you may find that it makes your network applications more reliable, as the network is allowed to split apart your packets into multiple smaller packets, or aggregate two or more packets into one larger packet, if it decides it needs to do so for reliability or performance.
So you might do a s.recv expecting to get one line of input, but the network decided to batch together two remote s.sends into one s.recv, for example. But the network usually, but not always, will batch up your packets the way youd expect - so this can be a difficult problem to track down.
It supports the following methods:
read(length) brings in a specific number of bytes.
readto(char) reads up thru the next occurence of char
readtomax(char,length) reads up thru the next occurence of char, or length bytes, whichever is less
set_chunk_len(length) says "do reads and writes in increments of length". The chunk length defaults to 4096. You should make this larger on networks that employ jumbo frames to squeeze out more performance!
send(buf) writes the bytes in buf.
flush() is just like stdios (the C librarys) flush function. Call it when you want an output buffer flushed (written immediately).
shutdown(v) just like for a regular socket, except it flushes first.
Usage:
Code snippet:
sock = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
sock.connect((hostname,port))
bs = bufsock.bufsock(sock)
version = bs.readto(n)
print version
<<lessAlso, you may find that it makes your network applications more reliable, as the network is allowed to split apart your packets into multiple smaller packets, or aggregate two or more packets into one larger packet, if it decides it needs to do so for reliability or performance.
So you might do a s.recv expecting to get one line of input, but the network decided to batch together two remote s.sends into one s.recv, for example. But the network usually, but not always, will batch up your packets the way youd expect - so this can be a difficult problem to track down.
It supports the following methods:
read(length) brings in a specific number of bytes.
readto(char) reads up thru the next occurence of char
readtomax(char,length) reads up thru the next occurence of char, or length bytes, whichever is less
set_chunk_len(length) says "do reads and writes in increments of length". The chunk length defaults to 4096. You should make this larger on networks that employ jumbo frames to squeeze out more performance!
send(buf) writes the bytes in buf.
flush() is just like stdios (the C librarys) flush function. Call it when you want an output buffer flushed (written immediately).
shutdown(v) just like for a regular socket, except it flushes first.
Usage:
Code snippet:
sock = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
sock.connect((hostname,port))
bs = bufsock.bufsock(sock)
version = bs.readto(n)
print version
Download (0.002MB)
Added: 2006-05-02 License: GPL (GNU General Public License) Price:
1270 downloads
Speedometer 2.4
Speedometer is a console bandwidth and file download progress monitor. more>>
Speedometer project is a console bandwidth and file download progress monitor with a logarithmic bandwidth display and a simple command-line interface.
Usage:
speedometer [options] tap [[-c] tap]... Monitor network traffic or speed/progress of a file transfer. At least one tap must be entered. -c starts a new column, otherwise taps are piled vertically.
Taps: filename [expected-size] display download speed [with progress bar] -rx network-interface display bytes received on network-interface -tx network-interface display bytes transmitted on network-interface
Options: -i interval-in-seconds eg. "5" or "0.25" default: "1" -p use plain-text display (one tap only)
<<lessUsage:
speedometer [options] tap [[-c] tap]... Monitor network traffic or speed/progress of a file transfer. At least one tap must be entered. -c starts a new column, otherwise taps are piled vertically.
Taps: filename [expected-size] display download speed [with progress bar] -rx network-interface display bytes received on network-interface -tx network-interface display bytes transmitted on network-interface
Options: -i interval-in-seconds eg. "5" or "0.25" default: "1" -p use plain-text display (one tap only)
Download (0.021MB)
Added: 2006-04-10 License: LGPL (GNU Lesser General Public License) Price:
1312 downloads
Gluster 1.2.2 (GlusterFS)
GlusterFS package contains clustered file storage that can scale to peta bytes. more>>
GlusterFS package contains clustered file storage that can scale to peta bytes. GlusterFS is a programmable system. With little thinking, you can even redesign the GlusterFS file system by re-arranging the GlusterFS components using translator interface. It is all achieved through volume specification file. This allows GlusterFS to be flexible for all kinds of storage needs. Even with all these advanced features, GlusterFS is very easy to setup and manage.
Gluster is a GNU cluster distribution aimed at commoditizing Supercomputing and Superstorage. Core of the Gluster provides a platform for developing clustering applications tailored for a specific tasks such as HPC Clustering, Storage Clustering, Enterprise Provisioning, Database Clustering etc.
<<lessGluster is a GNU cluster distribution aimed at commoditizing Supercomputing and Superstorage. Core of the Gluster provides a platform for developing clustering applications tailored for a specific tasks such as HPC Clustering, Storage Clustering, Enterprise Provisioning, Database Clustering etc.
Download (0.26MB)
Added: 2007-01-17 License: GPL (GNU General Public License) Price:
1012 downloads
KNetStats 1.6.1
KNetStats is a simple KDE network monitor. more>>
KNetStats is a simple KDE network monitor that show rx/tx LEDs or numeric information about the transfer rate of any network interface in a system tray icon. The source code of the current version (v1.3) is avaliable for download at Sourceforge download and CVS servers.
Main features:
- See network activity and transfer rate of any network interface (including localloopback).
- Support multiple network interfaces.
- See simple statistics (packets and bytes received and transmitted).
- Configurable Update Interval, View mode, Icon themes, etc.
- GPLed, you can use and modify for free (Following GPL conditions)
Enhancements:
- Fixed crash when discovering a new interface.
<<lessMain features:
- See network activity and transfer rate of any network interface (including localloopback).
- Support multiple network interfaces.
- See simple statistics (packets and bytes received and transmitted).
- Configurable Update Interval, View mode, Icon themes, etc.
- GPLed, you can use and modify for free (Following GPL conditions)
Enhancements:
- Fixed crash when discovering a new interface.
Download (0.17MB)
Added: 2006-10-26 License: GPL (GNU General Public License) Price:
1096 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above bytes search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed