# Library Crypto

# Package Cipher

## Overview

Classes: Cipher, CipherFactory, CipherImpl, CipherKey, CipherKeyImpl, CryptoIOS, CryptoInputStream, CryptoOutputStream, CryptoStreamBuf, CryptoTransform, DecryptingInputStream, DecryptingOutputStream, EncryptingInputStream, EncryptingOutputStream

## Classes

### class Cipher

Represents the abstract base class from which all implementations of symmetric/assymetric encryption algorithms must inherit.

### class CipherFactory

A factory for Cipher objects.

### class CipherImpl

An implementation of the Cipher class for OpenSSL's crypto library.

### class CipherKey

CipherKey stores the key information for decryption/encryption of data.

### class CipherKeyImpl

An implementation of the CipherKey class for OpenSSL's crypto library.

### class CryptoIOS

The base class for CryptoInputStream and CryptoOutputStream.

### class CryptoInputStream

This stream transforms all data passing through it using the given CryptoTransform.

### class CryptoOutputStream

This stream transforms all data passing through it using the given CryptoTransform.

### class CryptoStreamBuf

This stream buffer performs cryptographic transformation on the data going through it.

### class CryptoTransform

This interface represents the basic operations for cryptographic transformations to be used with a CryptoInputStream or a CryptoOutputStream.

### class DecryptingInputStream

This stream decrypts all data passing through it using the given Cipher.

### class DecryptingOutputStream

This stream decrypts all data passing through it using the given Cipher.

### class EncryptingInputStream

This stream encrypts all data passing through it using the given Cipher.

### class EncryptingOutputStream

This stream encrypts all data passing through it using the given Cipher.