Jump to content

AES implementations: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎Delphi: Added TurboPower LockBox.
No edit summary
Tag: possible conflict of interest
Line 69: Line 69:
* [http://www.php.net/manual/en/function.mcrypt-encrypt.php Mcrypt] for PHP
* [http://www.php.net/manual/en/function.mcrypt-encrypt.php Mcrypt] for PHP
* [http://dsource.org/projects/dcrypt dcrypt] for the [[D (programming language)]] implements AES
* [http://dsource.org/projects/dcrypt dcrypt] for the [[D (programming language)]] implements AES
* [http://403forbidden.dyndns.org/?page_id=128 AutoIt] implementation by 403forbidden


== Applications ==
== Applications ==

Revision as of 01:09, 19 September 2009

There are various implementations of the Advanced Encryption Standard, also known as Rijndael.

Libraries

AES speed at 128, 192 and 256-bit key sizes.

Rijndael is free for any use public or private, commercial or non-commercial. The authors of Rijndael used to provide a homepage[1] for the algorithm. Care should be taken when implementing AES in software. Like most encryption algorithms, Rijndael was designed on big-endian systems. For this reason, little-endian systems return correct test vector results only through swapping bytes of the input and output words.

The algorithm operates on plaintext blocks of 16 bytes. Encryption of shorter blocks is possible only by padding the source bytes, usually with null bytes. This can be accomplished via several methods, the simplest of which assumes that the final byte of the cipher identifies the number of Null bytes of padding added.

Careful choice must be made in selecting the mode of operation of the cipher. The simplest mode encrypts and decrypts each 128-bit block separately. In this mode, called "electronic code book (ECB)", blocks that are identical will be encrypted identically. This will make some of the plaintext structure visible in the ciphertext. Selecting other modes, such as empressing a sequential counter over the block prior to encryption (CTR mode) and removing it after decryption avoids this problem.

Actionscript 3

C/ASM library

C++ library

C# /.NET

Java

JavaScript

Delphi

Lisp

Other languages

Applications

Archive and compression tools

Disk encryption

Security for communications in Local Area Networks

Miscellaneous

  • GPG, GPL-licensed, includes AES, AES-192, and AES-256 as options.
  • IPsec
  • IronKey Uses AES 128-bit and 256-bit CBC-mode hardware encryption
  • OpenSSL includes AES cipher support as of version 0.9.7 (released in 2002) and is dual-licensed under the terms of the OpenSSL License and the original SSLeay license. FIPS validated via IBM
  • Pidgin (software), has a plugin that allows for AES Encryption
  • XFire uses AES-128, AES-192 and AES 256 to encrypt usernames and passwords
  • YaSSL includes AES cipher support YaSSL HomePage

References