Articles Tagged 'coding'

As3Crypto ActionScript 3 Cryptography Library

As3 Crypto Framework 1.1 is a library written in ActionScript 3 that allows you to apply the most common encryption algorithms, such as:

  • Public Key Encryption: RSA (encryption partial. only.)
  • Secret Key Encryption: AES, DES, 3DES, BlowFish, XTEA, RC4
  • Confidentiality Modes: ECB, CBC, CFB, CFB8, OFB, CTR
  • Hashing Algorithms: MD5, SHA-1, SHA-224, SHA-256
  • Paddings available: PKCS # 5, PKCS # 1
  • Other Useful Stuff: HMAC, Random

The library offers a variety of classes in order to apply the encryption algorithms. It is BSD licensed, as part of the source code comes from Java, C and JavaScript. On the site you can find more information, the sources and binaries.

Continued ...

The RSA encryption

First of all, as mentioned in the Post encryption system RSA is a public key encryption and takes advantage of the properties of prime numbers. Moreover, the arithmetic used (in the calculations) is not the ordinary, but the so-called finite or artirmetica modular. Let's start right from the latter to proceed step by step in the implementation of RSA encryption.

Continued ...

Cryptography

As we talk more and more encryption, decryption code, adopted in violation of the protections on DVDs and more, here are some hints to help you understand, at least in broad terms, an argument is extremely varied, interesting and complex.

The art of critografia, ie the ability to hide a message to all except for a specific recipient, dates back to ancient times. In general encrypt a message is to choose an encoding method, and there are several. The drawback, until recently, was that this method should not only be known by the sender (the person who encrypted the message), but - of course - even by the recipient. In other words, sender and recipient must find a way to exchange the encryption method.

Continued ...