Calculating SHA Checksums
SHA (Secure Hash Algorithm) is an algorithm and it is mainly used to verifying integrity of files under linux. Unlike MD5 (it is only 128 bits), SHA uses 160 bits by default (SHA1) and there is 4 another improved version:
sha224: 224 bits
sha256: 256 bits
sha384: 384 bits
sha512: 512 bits
You can learn sha1 sum of a file (160 bits) with:
sha1sum filename
or
shasum -a 1 filename
shasum uility takes -a parameter as 1, 224, 256, 384 and 512 repectively and make calculations for the specified bits length.
- 0 Comment
- Murat Demirten
- 26 Jun 2008, 15:16
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
- Disabling reverse dns lookups in ssh
- Enabling remote desktop on a VirtualBox Machine
- Remove all frozen messages from exim mail queue
- Disabling ssh password authentication
- Recursively mput with smbclient
- Syntax highlighting in less
- How to extract a deb package without installing
- Routing packets back from incoming interface
- Rewriting destination ip address
- Lowercase Table Names in MySQL
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
