encryption2.jar is Java code, with source, to do secure TCP port forwarding across the Internet. See the source, or better yet, run javadoc on the source, for details.
To download, right click on this encryption2.jar link, and select "Save Target As.."
This software is protected by the accompanying license and copyright notice.
- Java classes that perform cryptographic functions
- AES.java implements the Advanced Encryption Standard for 128-bit keys.
- ECS.java performs Elliptic Curve Cryptography private key operations.
- ECC.java performs Elliptic Curve Cryptography public key operations.
- Counteristream8.java implements a decrypting authenticated InputStream.
- Counterostream8.java implements an encrypting authenticated OutputStream.
- Certif6.java implements an ECC public key Certificate.
- Certix6.java implements the private key of an ECC public key Certificate.
- SecureRemote6.java is an implementation of Layering6 that uses Counteristream8 and Counterostream8 to provide a secure TCP connection across the Internet.
- Md5.java is an implementation of the MD5 hash, with support for NMAC.
- Sha1.java is an implementation of the SHA-1 hash (Secure Hash Algorithm).
- Sha256.java is an implementation of the SHA-256 hash (Secure Hash Algorithm).
- Java classes that use, but do not perform, cryptographic functions
- Cert6.java is an interface for a public key Certificate.
- Certext6.java is an interface for the private key corresponding to a public key Certificate.
- CertextGetter6.java is an interface for finding a private key.
- CertGetter6.java is an interface for finding a Certificate.
- DecryptedInputStream.java is an abstract class intended to be extended by a class that decrypts an InputStream.
- EncryptedOutputStream.java is an abstract class intended to be extended by a class that encrypts an OutputStream.
- Layering6.java is an interface for sockets that implement filtering on their input streams and output streams.
- UnknownUserException.java is thrown by classes when they can't find a Certificate for a given user.
- Java classes that are not involved with cryptographic functions
- Alarm.java interrupts the login process if it takes too long.
- Base64Decode.java converts base 64 data from System.in to binary on System.out.
- Conversions.java contains useful little utility routines.
- LogWriter.java is an interface implemented by classes that write logs.
- Splice.java copies data from an InputStream to an OutputStream.