To calculate a MD5 or SHA-1 checksum of a file in Linux, you can use either md5sum or sha1sum, but what about Windows especially when you copy a file from Windows to Linux and want to compare the checksum of both source and destination files. To calculate a MD5 checksum of any file, enter the following command at the Windows command prompt: certUtil -hashfile … [Read more...]
MD5 and SHA1 Checksum Using Linux
A file checksum is useful when you want to verify the content of a file are same as the content you copied or downloaded somewhere. Basically it calculate and summarise every bits of the file into a small integer value. To verify content of the file are same as the source, simply do a checksum of the source and destination file, and compare the checksum value. To calculate a … [Read more...]
Java: Unlimited Strength Jurisdiction Policy
You are writing a Java program to encrypt or de-crypt some data with strong encryption keys but you got an error saying InvalidKeyException: Illegal key size or default parameters. You double checked and triple checked your code and everything seems to be correct but you still get the same exception every time you run your program. You are probably doing nothing wrong but … [Read more...]
WordPress: How To Change Admin Username
By changing the default administrator username of your Wordpress login can be a great security measure to help prevent unauthorized access to your WordPress admin dashboard. Your Wordpress site is at risk if you are still using the default username admin. Attackers, either a human being or a robot can use the username to attempt log into your Wordpress dashboard. It is … [Read more...]
Linux: How To Compress And Decompress Folders And Files
Sometime, you may want to compress all files in a folder (or folders) in Linux into a single file to save space and so that you can back up the file to other media. In Linux, you can use the tar utilities which is installed in most Linux distribution by default. GNU 'tar' saves many files together into a single tape or disk archive, and can restore individual files from the … [Read more...]