BluePoint Encryption is a simple, secure, state of the art block encryption algorithm. It requires minimal processing power and has a low memory footprint. The algorithm produces an even bit distribution, even when its fed with small data or homogenus content. This makes it highly resilient against crypt analysis, and an ideal candidate where safe, secure and customized encryption is needed. The BluePoint Encryption is available in source code format in the following languages: 'C', PHP, Perl, JavaScript, ... All the source code ports are cypher text compatible, content encoded with one port, can be decoded in other ports.

[ Home ]  [ License ] [ Bit Distribution Study ] [ Demo ] [ Download ] [ About  ]
Bluepoint Encryption

Bluepoint encryption routines.

How it works:

    The string (memory area) is walked char by char with the loop:
        {
        $aa = ord(substr($_[0], $loop, 1));
        do something with $aa
        substr($_[0], $loop, 1) = pack("c", $aa);
        }

The walk is done three times,

walk forward with password cycling loop
walk backwards with feedback encryption
walk forward with feedback encryption

On decryption, the the walk is executed in the opposite order:

walk forward with feedback encryption
walk backwards with feedback encryption
walk forward with password cycling loop

  The forward and backward walk are interlaced with linear and non-linear operations, which gives the encryption algorithm its strength and quality. The interlace is also alternated between the backward and forward pass. The password cycling pass is done with an encrypted version of the pass, assuring the pass itself has a high quality bit distribution.

  In the code, the pass cycling is limited to 32 characters. This renders the encryption algorhytm industrial strenght. Raising that to 64 characters (512-bits) will make it  unbreakable today, raising that to 128 characters (1024-bits) will make it  unbreakable in the future. However, this is left as an excersize to the reader, so the export restriction does not apply to the code basis.

  The overall Flow of events inside the algorithm:

        generate vector
        generate pass
        walk forward with password cycling loop
        walk backwards with feedback encryption
        walk forward with feedback encryption

 The process guarantees that a single bit change in the original text will change every byte in the resulting block.

 The bit propagation is such a high quality, that it beats current industrial strength encryptions.

 Please see bit distribution study.
Site Copyright by Peter Glen, (c) 2007