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...]
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...]
eGenting Programming Competion 2015 And Tips
eGenting Programming Competition 2015 is coming this November and it is now open for registration. The layout or the format of the competition is remain unchanged except that eGenting Sdn Bhd is also having another competition - eGenting Bug Hunt - on next day of the eGenting Programming Competition. What is eGenting Programming Competition The E-Genting Programming … [Read more...]