text stringlengths 3 1.18M |
|---|
package jcrypter.utils.keyfinder;
import java.io.File;
import java.io.FileInputStream;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.InputStream;
import java.util.*;
import org.bouncycastle.openpgp.*;
/**
*
* @author uli
*/
public class PGPKeyReader implements KeyReader
{
public P... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter;
import gnu.crypto.util.Base64;
import java.io.UnsupportedEncodingException;
import java.security.GeneralSecurityException;
import java.security.Key;
import java.security.MessageDigest;
import javax.cr... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter;
import java.io.*;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.SecureRandom;
import java.util.List;
import org.junit.After;
import org.junit.AfterClass;
im... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter;
import gnu.crypto.cipher.CipherFactory;
import gnu.crypto.cipher.IBlockCipher;
import gnu.crypto.hash.HashFactory;
import gnu.crypto.hash.IMessageDigest;
import gnu.crypto.mode.IMode;
import gnu.crypt... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter;
import java.security.KeyPair;
import java.sql.SQLException;
import java.util.List;
/**
*
* @author uli
*/
public interface KeyStorageProvider {
public void setup() throws SQLException;
pub... |
/*
* DHServerFrame.java
*
* Created on 27. September 2008, 15:04
*/
package jcrypter.dh;
import javax.swing.SpinnerNumberModel;
/**
*
* @author uli
*/
public class DHServerFrame extends javax.swing.JFrame {
/** Creates new form DHServerFrame */
public DHServerFrame() {
initComponents();
... |
BlockCipher engine = new TwofishEngine();
BufferedBlockCipher cipher = new PaddedBufferedBlockCipher(new CBCBlockCipher(engine));
//Get data and encrypt
byte[] passwordBytes = new String(passwordField.getPassword()).getBytes();
byte[] input;
//Base64-decode the ciphertext
if(decryptCheckbox.isSelected()) {input = Base6... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* PGPKeyGeneratorFrame.java
* Contains code from ppgp. See http://ppgp.sf.net
* Created on 08.09.2008, 00:05:58
*/
package jcrypter.pgp;
import java.util.ResourceBundle;
/**
*
* @author uli
*/
public class ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* PGPCrypterFrame.java
*
* Created on 08.09.2008, 00:56:38
*/
package jcrypter.pgp;
import jcrypter.utils.keyfinder.PGPKeyReader;
import jcrypter.*;
import java.io.*;
import java.security.NoSuchProviderException... |
/*
* RSACrypterFrame.java
*
* Created on 20. September 2008, 15:58
*/
package jcrypter.rsa;
import jcrypter.utils.KeyFinder;
import java.io.*;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.interfaces.RSAPr... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter;
import java.security.Key;
import java.security.SecureRandom;
import javax.crypto.KeyGenerator;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author uli
*/
public class JCESymme... |
/*
* DigestFrame.java
*
* Created on 7. Oktober 2008, 20:14
*/
package jcrypter.digest;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;
import jcrypter.JCrypterFrame;
import java.io.... |
/*
* RSACrypterFrame.java
*
* Created on 20. September 2008, 15:58
*/
package jcrypter.asymmetric;
import jcrypter.utils.KeyGeneratorFrame;
import java.security.InvalidAlgorithmParameterException;
import jcrypter.utils.keyfinder.KeyFinder;
import java.io.*;
import java.security.InvalidKeyException;
import java.se... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* CipherModePaddingSelectorDialog.java
*
* Created on 08.09.2008, 14:04:07
*/
package jcrypter.utils;
import java.util.ResourceBundle;
import javax.swing.JFrame;
/**
*
* @author uli
*/
public class CipherMo... |
/*
* Base64UtilFrame.java
*
* Created on 10. Oktober 2008, 21:19
*/
package jcrypter.utils;
import java.io.*;
import java.util.ResourceBundle;
import java.util.logging.*;
import javax.swing.JFileChooser;
import jcrypter.JCrypterFrame;
import org.bouncycastle.util.encoders.Base64;
/**
*
* @author uli
*/
publi... |
package jcrypter.utils;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.u... |
package jcrypter.utils;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.security.SecureRandom;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFileChooser;
/*
* Ra... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter.utils;
import java.security.SecureRandom;
/**
*
* @author uli
*/
public class Utils
{
public static int[] byteToInt(byte[] input)
{
int[] array = new int[input.length / 4]; //sizeof... |
package jcrypter.utils;
import java.io.*;
import java.util.*;
/**
* <h3>MersenneTwister and MersenneTwisterFast</h3>
* <p><b>Version 13</b>, based on version MT199937(99/10/29)
* of the Mersenne Twister algorithm found at
* <a href="http://www.math.keio.ac.jp/matumoto/emt.html">
* The Mersenne Twister Home Page... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter.utils.keyfinder;
import java.io.File;
import java.util.List;
/**
*
* @author uli
*/
public interface KeyReader {
public void readPublicKey(File file, KeyFinder instance);
public void readPr... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter.utils.keyfinder;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.security.KeyFactory;
import java.security.NoSuchAlgori... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter.utils.keyfinder;
import java.io.File;
import java.io.FileInputStream;
import java.io.FilenameFilter;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.util.HashMap;
import jav... |
/*
* HMACFrame.java
*
* Created on 10. Oktober 2008, 13:36
*/
package jcrypter.hmac;
import java.io.*;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.NoSuchAlgorithmException;
import java.util.ResourceBundle;
import java.util.logging.*;
import javax.crypto.Mac;
import java... |
/*
* LaTeXSettingsDialog.java
*
* Created on 17. Oktober 2008, 17:41
*/
package jcrypter.password;
import java.util.ResourceBundle;
/**
*
* @author uli
*/
public class LaTeXSettingsDialog extends javax.swing.JDialog
{
/** Creates new form LaTeXSettingsDialog
* @param parent
* @param modal
... |
/*
* PasswordGeneratorFrame.java
*
* Created on 29. September 2008, 19:21
*/
package jcrypter.password;
import jcrypter.*;
import java.util.ResourceBundle;
import javax.swing.JOptionPane;
import javax.swing.SpinnerNumberModel;
/**
*
* @author uli
*/
public class PasswordGeneratorFrame extends javax.swing.JFra... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter.password;
import java.security.SecureRandom;
import java.util.LinkedList;
import java.util.List;
import jcrypter.utils.MersenneTwisterFast;
import jcrypter.utils.Utils;
/**
*
* @author uli
*/
public... |
/*
* PasswordListGeneratorFrame.java
*
* Created on 16. Oktober 2008, 16:49
*/
package jcrypter.password;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.l... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* ECKeyGeneratorFrame.java
*
* Created on 10.09.2008, 23:25:49
*/
package jcrypter.signature;
import java.awt.EventQueue;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream... |
/*
* RSASignatureAlgorithmSelectorDialog.java
*
* Created on 24. September 2008, 19:54
*/
package jcrypter.signature;
/**
*
* @author uli
*/
public class RSASignatureAlgorithmSelectorDialog extends javax.swing.JDialog {
/** Creates new form RSASignatureAlgorithmSelectorDialog */
public RSASignatu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* SignatureFrame.java
*
* Created on 10.09.2008, 19:57:18
*/
package jcrypter.signature;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProvid... |
/*
* JCrypterFrame.java
*
* Created on 26. Juli 2008, 17:47
* http://1x1.googlecode.com
* GNUCrypto version: Revision 122
* Released under Apache License
*/
package jcrypter;
import jcrypter.password.PasswordGeneratorFrame;
import java.io.ByteArrayInputStream;
import jcrypter.utils.CipherModePaddingSelectorDial... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* JRocketStartSimulatorFrame.java
*
* Created on 07.01.2009, 18:55:06
*/
package jrocketstartsimulator;
import java.util.ResourceBundle;
/**
*
* @author uli
*/
public class JRocketStartSimulatorFrame extend... |
package de.uliköhler.JMathTrainer;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author User
*/
public enum mtOperator
{
MULT, PLUS, MINUS
} |
package de.uliköhler.JMathTrainer;
/*
* mtSettingsFrame.java
*
* Created on 4. April 2008, 17:14
*/
import java.util.Vector;
/**
*
* @author User
*/
public class mtSettingsFrame extends javax.swing.JFrame {
//Variables
private Vector<Integer> rows = new Vector<Integer>();
private Vector<m... |
package de.uliköhler.JMathTrainer;
import java.io.*;
import javax.swing.*;
/*
* mtStatisticsFrame.java
*
* Created on 4. April 2008, 22:53
*/
/**
*
* @author User
*/
public class mtStatisticsFrame extends javax.swing.JFrame {
/** Creates new form mtStatisticsFrame */
public mtStatisticsFrame(... |
package de.uliköhler.JMathTrainer;
import java.awt.Color;
import java.text.DecimalFormat;
import java.util.Random;
import java.awt.event.*;
/*
* mtMainFrame.java
*
* Created on 4. April 2008, 19:45
*/
import javax.swing.*;
/**
*
* @author User
*/
public class mtMainFrame extends javax.swing.JFrame {
... |
/*
* BirthdayCalculatorFrame.java
*
* Created on 09.12.2008, 13:47:34
*
* Just a gimmick application to calculate the weekday of your next birthdays
*/
package birthdaycalculator;
import java.util.Calendar;
import java.util.Locale;
import java.util.ResourceBundle;
import javax.swing.SpinnerNumberModel;
/**
*
... |
/*
* J24Frame.java
*
* Created on 19. September 2008, 15:56
*/
package j24;
import java.io.FileWriter;
import java.io.IOException;
import javax.swing.SpinnerNumberModel;
import net.sourceforge.jeval.EvaluationException;
import net.sourceforge.jeval.Evaluator;
/**
*
* @author uli
*/
public class J24Frame exte... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jbmicalc;
import java.text.DecimalFormat;
import javax.swing.JOptionPane;
/**
*
* @author uli
*/
public class BMIAlgo
{
// instance variables - replace the example below with your own
private static... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* JBMICalcFrame.java
*
* Created on 20.03.2009, 19:41:56
*/
package jbmicalc;
import java.util.ResourceBundle;
import javax.swing.SpinnerNumberModel;
/**
*
* @author uli
*/
public class JBMICalcFrame extend... |
package jbmicalc;
/*
* JNumberSpinner.java
* A spinner with easier number access
* Created on 28.02.2009, 19:22:18
*/
import javax.swing.JSpinner;
import javax.swing.SpinnerNumberModel;
/**
*
* @author uli
*/
public class JNumberSpinner extends JSpinner
{
/** Creates new form BeanForm */
public JNumberSpinn... |
package jtimebomb;
/*
* JTImeBombFrame.java
*
* Created on 28. Juli 2008, 12:22
*/
import java.awt.Color;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.PushbackInputStream;
import java.net.BindException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ResourceBundle;... |
/*
* JTimeBombClientFrame.java
*
* Created on 30. Juli 2008, 13:53
*/
package jtimebomb;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.ut... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* JRocketStartSimulatorFrame.java
*
* Created on 07.01.2009, 18:55:06
*/
package jrocketstartsimulator;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Locale;
import java.util.ResourceB... |
/*
* JNameChooserFrame.java
*
* Created on 27. August 2008, 14:38
*/
package jnamechooser;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Random;
import javax.swing.J... |
/*
* AddNamesDialog.java
*
* Created on 27. August 2008, 19:31
*/
package jnamechooser;
import java.sql.PreparedStatement;
import java.sql.SQLException;
/**
*
* @author uli
*/
public class AddNamesDialog extends javax.swing.JDialog {
/** Creates new form AddNamesDialog */
public AddNamesDialog(java.... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*
* NOTE: 43 lines per page without title, 33 with title ==> PageCount - 1
*/
/*
* JMathSheetGeneratorFrame.java
*
* Created on 03.12.2008, 16:28:46
*/
package jmathsheetgenerator;
import java.io.File;
import java.i... |
package jmathsheetgenerator;
import java.io.*;
import java.util.*;
/**
* <h3>MersenneTwister and MersenneTwisterFast</h3>
* <p><b>Version 13</b>, based on version MT199937(99/10/29)
* of the Mersenne Twister algorithm found at
* <a href="http://www.math.keio.ac.jp/matumoto/emt.html">
* The Mersenne Twister Home... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* JSCFrame.java
*
* Created on 05.01.2009, 18:29:05
*/
package jsc;
import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;
import java.awt.datatransfer.Tra... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.security.Key;
import java.security.KeyPair;
import java.security.PrivateKey;
import java.se... |
package jcrypter.utils.keyfinder;
import java.io.File;
import java.io.FileInputStream;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.InputStream;
import java.util.*;
import org.bouncycastle.openpgp.*;
/**
*
* @author uli
*/
public class PGPKeyReader implements KeyReader
{
public P... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter;
import gnu.crypto.util.Base64;
import java.io.UnsupportedEncodingException;
import java.security.GeneralSecurityException;
import java.security.Key;
import java.security.MessageDigest;
import javax.cr... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter;
import java.io.*;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.SecureRandom;
import java.util.List;
import org.junit.After;
import org.junit.AfterClass;
im... |
/*
* StatisticalAnalysisFrame.java
*
* Created on 20. Oktober 2008, 14:36
*/
package jcrypter.cryptanalysis;
import java.io.*;
import java.util.Comparator;
import java.util.Iterator;
import java.util.ResourceBundle;
import java.util.SortedSet;
import java.util.TreeSet;
import java.util.Vector;
import java.util.log... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter;
import gnu.crypto.cipher.CipherFactory;
import gnu.crypto.cipher.IBlockCipher;
import gnu.crypto.hash.HashFactory;
import gnu.crypto.hash.IMessageDigest;
import gnu.crypto.mode.IMode;
import gnu.crypt... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter;
import java.security.KeyPair;
import java.sql.SQLException;
import java.util.List;
/**
*
* @author uli
*/
public interface KeyStorageProvider {
public void setup() throws SQLException;
pub... |
/*
* DHServerFrame.java
*
* Created on 27. September 2008, 15:04
*/
package jcrypter.dh;
import javax.swing.SpinnerNumberModel;
/**
*
* @author uli
*/
public class DHServerFrame extends javax.swing.JFrame {
/** Creates new form DHServerFrame */
public DHServerFrame() {
initComponents();
... |
BlockCipher engine = new TwofishEngine();
BufferedBlockCipher cipher = new PaddedBufferedBlockCipher(new CBCBlockCipher(engine));
//Get data and encrypt
byte[] passwordBytes = new String(passwordField.getPassword()).getBytes();
byte[] input;
//Base64-decode the ciphertext
if(decryptCheckbox.isSelected()) {input = Base6... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* PGPKeyGeneratorFrame.java
* Contains code from ppgp. See http://ppgp.sf.net
* Created on 08.09.2008, 00:05:58
*/
package jcrypter.pgp;
import java.util.ResourceBundle;
/**
*
* @author uli
*/
public class ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* PGPCrypterFrame.java
*
* Created on 08.09.2008, 00:56:38
*/
package jcrypter.pgp;
import jcrypter.utils.keyfinder.PGPKeyReader;
import jcrypter.*;
import java.io.*;
import java.security.NoSuchProviderException... |
/*
* RSACrypterFrame.java
*
* Created on 20. September 2008, 15:58
*/
package jcrypter.rsa;
import jcrypter.utils.KeyFinder;
import java.io.*;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.interfaces.RSAPr... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter;
import java.security.Key;
import java.security.SecureRandom;
import javax.crypto.KeyGenerator;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author uli
*/
public class JCESymme... |
/*
* DigestFrame.java
*
* Created on 7. Oktober 2008, 20:14
*/
package jcrypter.digest;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;
import jcrypter.JCrypterFrame;
import java.io.... |
/*
* AsymmetricCrypterFrame.java
*
* Created on 20. September 2008, 15:58
*/
package jcrypter.asymmetric;
import jcrypter.utils.KeyGeneratorFrame;
import java.security.InvalidAlgorithmParameterException;
import jcrypter.utils.keyfinder.KeyFinder;
import java.io.*;
import java.security.InvalidKeyException;
import j... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* CipherModePaddingSelectorDialog.java
*
* Created on 08.09.2008, 14:04:07
*/
package jcrypter.utils;
import java.awt.EventQueue;
import java.security.NoSuchAlgorithmException;
import java.util.ResourceBundle;
i... |
/*
* Base64UtilFrame.java
*
* Created on 10. Oktober 2008, 21:19
*/
package jcrypter.utils;
import java.io.*;
import java.util.ResourceBundle;
import java.util.logging.*;
import javax.swing.JFileChooser;
import javax.swing.JOptionPane;
import jcrypter.JCrypterFrame;
import org.bouncycastle.util.encoders.Base64;
... |
package jcrypter.utils;
import java.awt.Component;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProvi... |
package jcrypter.utils;
import java.io.*;
import java.util.*;
/**
* <h3>MersenneTwister and MersenneTwisterFast</h3>
* <p><b>Version 13</b>, based on version MT199937(99/10/29)
* of the Mersenne Twister algorithm found at
* <a href="http://www.math.keio.ac.jp/matumoto/emt.html">
* The Mersenne Twister Home Page... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter.utils.keyfinder;
import java.io.File;
import java.util.List;
/**
*
* @author uli
*/
public interface KeyReader {
public void readPublicKey(File file, KeyFinder instance);
public void readPr... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter.utils.keyfinder;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.NoS... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter.utils.keyfinder;
import java.io.File;
import java.io.FileInputStream;
import java.io.FilenameFilter;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.util.HashMap;
import jav... |
/*
* HMACFrame.java
*
* Created on 10. Oktober 2008, 13:36
*/
package jcrypter.hmac;
import java.io.*;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.NoSuchAlgorithmException;
import java.util.ResourceBundle;
import java.util.logging.*;
import javax.crypto.Mac;
import java... |
/*
* LaTeXSettingsDialog.java
*
* Created on 17. Oktober 2008, 17:41
*/
package jcrypter.password;
import java.util.ResourceBundle;
/**
*
* @author uli
*/
public class LaTeXSettingsDialog extends javax.swing.JDialog
{
/** Creates new form LaTeXSettingsDialog
* @param parent
* @param modal
... |
/*
* PasswordGeneratorFrame.java
*
* Created on 29. September 2008, 19:21
*/
package jcrypter.password;
import jcrypter.*;
import java.util.ResourceBundle;
import javax.swing.JOptionPane;
import javax.swing.SpinnerNumberModel;
/**
*
* @author uli
*/
public class PasswordGeneratorFrame extends javax.swing.JFra... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter.password;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.security.SecureRandom;
import java.util.LinkedList;
import java.util.List;
import java.util.logging... |
/*
* PasswordListGeneratorFrame.java
*
* Created on 16. Oktober 2008, 16:49
*/
package jcrypter.password;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.l... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* ECKeyGeneratorFrame.java
*
* Created on 10.09.2008, 23:25:49
*/
package jcrypter.signature;
import java.awt.EventQueue;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream... |
/*
* RSASignatureAlgorithmSelectorDialog.java
*
* Created on 24. September 2008, 19:54
*/
package jcrypter.signature;
/**
*
* @author uli
*/
public class RSASignatureAlgorithmSelectorDialog extends javax.swing.JDialog {
/** Creates new form RSASignatureAlgorithmSelectorDialog */
public RSASignatu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* SignatureFrame.java
*
* Created on 10.09.2008, 19:57:18
*/
package jcrypter.signature;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProvid... |
package jcrypter.rand;
import jcrypter.utils.*;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.security.Secu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jcrypter.rand;
import java.io.IOException;
import java.io.OutputStream;
/**
*
* @author uli
*/
public class ResultsFrameOutputStream extends OutputStream
{
public ResultsFrameOutputStream(ResultsFrame f... |
/*
* ResultsFrame.java
*
* Created on 23. Oktober 2008, 19:52
*/
package jcrypter.rand;
import java.util.ResourceBundle;
/**
*
* @author uli
*/
public class ResultsFrame extends javax.swing.JFrame
{
/** Creates new form ResultsFrame */
public ResultsFrame() {
initComponents();
}
/**... |
/*
* RandomNumberGeneratorFrame.java
*
* Created on 23. Oktober 2008, 19:22
* Preferrably create a single instance to avoid time-consuming reseeding of the RNG
*/
package jcrypter.rand;
import java.awt.EventQueue;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import ja... |
/*
* JCrypterFrame.java
*
* Created on 26. Juli 2008, 17:47
* http://1x1.googlecode.com
* GNUCrypto version: Revision 122
* Released under Apache License
* Implements Singleton, saved instance called mainFrame
*/
package jcrypter;
import jcrypter.password.PasswordGeneratorFrame;
import java.io.ByteArrayInputSt... |
package jmailloadgenerator;
import java.io.*;
import java.util.*;
/**
* <h3>MersenneTwister and MersenneTwisterFast</h3>
* <p><b>Version 13</b>, based on version MT199937(99/10/29)
* of the Mersenne Twister algorithm found at
* <a href="http://www.math.keio.ac.jp/matumoto/emt.html">
* The Mersenne Twister Home ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* JMailLoadGeneratorFrame.java
*
* Created on 20.11.2008, 21:19:59
*/
package jmailloadgenerator;
import com.sun.mail.smtp.SMTPSendFailedException;
import java.io.File;
import java.io.FileReader;
import java.io.... |
package jopensslgui;
import java.io.File;
import java.io.IOException;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFileChooser;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* GenerateDH... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* GenerateRSAKeysPanel.java
*
* Created on 30.01.2009, 19:26:27
*/
package jopensslgui;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ResourceBundle;
import java.... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* GenerateDSAKeysPanel.java
*
* Created on 01.02.2009, 14:56:59
*/
package jopensslgui;
import java.io.File;
import java.io.IOException;
import java.util.ResourceBundle;
import java.util.logging.Level;
import ja... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* GenerateKeysTabbedPane.java
*
* Created on 01.02.2009, 15:00:20
*/
package jopensslgui;
import java.util.ResourceBundle;
import javax.swing.JTabbedPane;
/**
*
* @author uli
*/
public class GenerateKeysTabb... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* RandomFilePanel.java
*
* Created on 30.01.2009, 19:59:40
*/
package jopensslgui;
import java.io.File;
import java.io.IOException;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.ut... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* ExtractPublicKeyPanel.java
*
* Created on 02.02.2009, 16:46:55
*/
package jopensslgui;
import java.io.File;
import java.io.IOException;
import java.util.ResourceBundle;
import java.util.logging.Level;
import j... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* GenerateECKeysPanel.java
*
* Created on 01.02.2009, 15:53:29
*/
package jopensslgui;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import jav... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* JOpenSSLFrame.java
*
* Created on 29.01.2009, 15:22:29
*/
package jopensslgui;
import java.io.IOException;
import java.util.ResourceBundle;
import java.util.logging.FileHandler;
import java.util.logging.Level;... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* SignaturePanel.java
*
* Created on 02.02.2009, 16:06:23
*/
package jopensslgui;
import java.io.File;
import java.io.IOException;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.uti... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* FileEncryptionPanel.java
*
* Created on 31.01.2009, 13:23:15
*/
package jopensslgui;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import jav... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* MessageDigestPanel.java
*
* Created on 02.02.2009, 14:06:10
*/
package jopensslgui;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jtrafficgenerator;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.util.Locale;
import javax.swing.JLabel;
/**
*
* @author uli
*/
public class JScientificNumberLabel exten... |
/*
* JTrafficGeneratorFrame.java
*
* Created on 9. August 2008, 17:39
*/
package jtrafficgenerator;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
i... |
package jpasswordgenerator.utils;
import java.io.*;
import java.util.*;
/**
* <h3>MersenneTwister and MersenneTwisterFast</h3>
* <p><b>Version 13</b>, based on version MT199937(99/10/29)
* of the Mersenne Twister algorithm found at
* <a href="http://www.math.keio.ac.jp/matumoto/emt.html">
* The Mersenne Twister... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.