9Rays.Net

CryptoSharp Features

100% Safe, Managed, CLSCompliant Code

  • Fast and compact (less than 300kb) implementation.
  • Full design-time support.
  • Modular design and dynamic loading feature allow effortless tuning to the target configuration.
  • Easily configurable for single-core and multi-core processing (no recompilation required).
  • Extensive documentation with numerous C# and VB.NET coding examples.

Symmetric Encryption

  • AES (Rijndael), Blowfish, DES, Serpent, Triple-DES, and Twofish symmetric ciphers.
  • A rich set of interfaces covers the complete set of encryption tasks - from basic single-block encryption to advanced stream processing, transparently performing data compression and integrity checking.
  • Full support for initialization vectors, including a helper function for generating true random initialization vectors (the higher level interfaces manage initialization vectors transparently).
  • Supports all the block chaining modes defined in the NIST Special Publication 800-38A, including the latest CTR (Counter) mode.
  • Includes a set of wrapper classes to use ciphers as I/O streams.
  • All the ciphers components are available in both single-threaded and multi-threaded versions.
  • No stream size limitation.

Data Compression

  • ZIP compressor based on the industry-standard zlib library.
  • Can be used either in conjunction with encryption components, or for stand-alone compression.
  • Includes a Stream wrapper class for compressing data using I/O read/write calls.
  • Available in both single-threaded and multi-threaded versions.
  • Unlimited size of the input stream.

Data Encoding

  • Binary, Octal, Hex (Base16), Base32, and Base64 encoding/decoding.
  • Supports all the encoding variations defined in the RFC 4648.

Hash (Message Digest) Functions

  • Haval, MD5, Ripemd-128/160, SHA-1, and SHA-256/384/512 hash functions.
  • Fully implements the FIPS 180-2 Secure Hash Standard.
  • Includes a Stream wrapper class to use hash functions as I/O streams.
  • All the hash function components are available in both single-threaded and multi-threaded versions.
  • No stream size limitation.

Message Authentication

  • Cipher-based CMAC implementation compliant to the NIST Special Publication 800-38B.
  • Hash function-based HMAC as defined in the FIPS PUB 198 standard.

Random Numbers Generators

  • TrueRNG generates true random numbers based on quickly changing system statistic data.
  • PseudoRNG for generating a deterministic cryptographically strong random sequence (cryptographically strong means that it is impossible to predict the next number even if we know the whole previous sequence and the algorithm that was used to generate it).
  • Pseudo-random numbers generator re-seeds from TrueRNG automatically to provide high-quality sequence (it can also be re-seeded manually to generate a reproducible pseudo-random sequence). The generator fully complies with the revised NIST Special Publication 800-90.

Structured Encrypted Storage

  • Encrypted Storage is the ultimate file encryption tool, implementing a file structure similar to the Windows file system.
  • Encrypted Storage interfaces mimic the standard DirectoryInfo and FileInfo classes. This greatly simplifies modifying existing applications to use Encrypted Storage instead of unprotected files.
  • CryptoSharp Encrypted Storage is designed to be immune to system or application crashes.
  • No storage or stream size limitation.

Key Manager

  • CryptoSharp Key Manager transparently handles user-supplied passwords and binary keys.
  • The advanced password dialog implements an interactive re-enter mode for easy and reliable entering long passwords. Password re-entering may be either optional or forced.
  • Selectable and persistent password hiding mode.
  • Support for file-based binary keys.
  • Support for file-based passwords.
  • Automatic scanning for binary keys makes key handling transparent and user-friendly.
  • PKCS #5 -compliant password conversion.

File Shredders

  • Windows and platform independent synchronous shredders.
  • Windows and platform independent asynchronous shredders (start and forget).
  • All the shredders support multi-pass shredding and perform complete clean-up, including directory entries.

Other Features

  • CRC-32 computations.
  • "Standard" and modular arithmetic on integer numbers of unlimited size.

Current version

v.1.3 (what's new?)

Related links


© 1999-2008 9Rays.Net, Inc.
All rights reserved.