Tag Archive: Java

Feb 21

A Java Class to upload files trough FTP

Download Ftp.java /** * FILE: Ftp.java * DESCRIPTION: A ftp uploader GUI class * LIMITATION: Uses AWT instead of SWING * VERSION: 09-Feb-2006 * * Olaf says: * * — Remenber, all is posible but the problem * is the time you are able to spend doing it. — */ import java.io.*; import java.net.*; import …

Continue reading »

Feb 21

MD5, SHA-1 hash sums in Java 2

Download HashSum.java /** * A class for calculating hash sum in files or strings * using all the hash algorithms supported by Java * * @author Olaf Reitmaier * @version December, 2005 */ import java.security.NoSuchAlgorithmException; import java.security.MessageDigest; import java.io.File; import java.io.FileInputStream; import java.io.BufferedInputStream; import java.io.IOException; public class HashSum{ public static final int BUFFER_SIZE = 1024; …

Continue reading »

Jan 19

Blowfish Cipher Algorithm in Java

Download source code here: Blowfish.tar.gz An implementation on Blowfish cipher algorithm in Java, based on: * Bruce Schneier (2009) * Dr. Herong Yang (2009) * Wikipedia (2009) * DI Managment (2009) Copyright (C) Dec 23th, 2009 – Olaf Reitmaier Veracierta This program is free software: you can redistribute it and/or modify it under the terms …

Continue reading »