CryptoSys Home > API > DES cryptography software

DES cryptography software


The Data Encryption Standard (DES) block cipher algorithm was developed in the 1970s as a result of a program by the then US National Bureau of Standards (NBS, now the NIST) to develop a single, standard cryptographic algorithm. The official standard FIPS PUB 46 Data Encryption Standard was first published in 1977. The algorithm described in the standard is known as the Data Encryption Algorithm (DEA).

DEA is a block cipher that encrypts 64-bit blocks of plaintext data using a 64-bit key, of which 56 bits are randomly generated and the remaining 8 bits are ignored by the algorithm but may be used for a parity check.

FIPS 46 was withdrawn in 2004 and so DES may no longer be used to protect US Federal Government information. Data encrypted with DEA can be decrypted by brute force methods in under 20 hours using modern computers. The use of DES is now only permitted only as a component function of TDEA. Triple DES (i.e., TDEA), as specified in ANSI X9.52, Keying Options 1 and 2, is recognized as the only FIPS approved DES algorithm.

Although these documents have been withdrawn as Federally-approved standards, they are still available and are useful sources of information:

DES functions available in CryptoSys API

See the Des Class for the equivalent .NET methods for C# and VB.NET/2005/8.

Contact us

For more information or to comment on this page, please send us a message.

This page last updated 15 August 2025.