Information encryption represents the usage of an algorithm to convert an unknown message into an encrypted one. It is used to protect the data against unauthorized access. Protected data can be stored on a media device or can be transmitted through the network. In this paper we describe a concrete implementation of the AES algorithm in the Java programming language (available from Java Development Kit 6 libraries) and C (using the OpenSSL library). AES (Advanced Encryption Standard) is an asymmetric key encryption algorithm formally adopted by the U.S. government and was elected after a long process of standardization.