2010
06.16

I started to read about old ancient Ciphers used hundreds of years ago, At the time these Ciphers where “Unbreakable” but these day they are considered unsecured, The Vigenere Cipher is more secure than the Caesar Cipher because it uses a key to encrypt text, But using the Kisiski method it can be broken if the encrypted string is long enough to analyze. Anyway here our my implementations of the Caesar and the Vigenere Ciphers

In cryptography, a Caesar cipher, also known as a Caesar’s cipher, the shift cipher, Caesar’s code or Caesar shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a shift of 3, A would be replaced by D, B would become E, and so on. The method is named after Julius Caesar, who used it to communicate with his generals.

The encryption step performed by a Caesar cipher is often incorporated as part of more complex schemes, such as the Vigenère cipher, and still has modern application in the ROT13 system. As with all single alphabet substitution ciphers, the Caesar cipher is easily broken and in practice offers essentially no communication security.

Function CaesarLeft(sString: String; iAmount: Integer):String;
var
 i, iPos: Integer;
 sAlphabet: String;
begin
 sAlphabet:= 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
 i:= 1;
 while i <= Length(sString) do
  Begin
   if sString[i] = ' ' then
    Result:= Result + ' '
    else
    begin
     iPos:= pred(pos(sString[i],sAlphabet));
     Result:= Result + sAlphabet[(((iPos + 26) - iAmount) mod 26) + 1];
    end;
   inc(i);
  end;
end;

Function CaesarRight(sString: String; iAmount: Integer):String;
var
 i, iPos: Integer;
 sAlphabet: String;
begin
 sAlphabet:= 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
 i:= 1;
 while i <= Length(sString) do
  Begin
   if sString[i] = ' ' then
    Result:= Result + ' '
    else
    begin
     iPos:= pred(pos(sString[i],sAlphabet));
     Result:= Result + sAlphabet[((iPos + iAmount) mod 26) + 1];
    end;
   inc(i);
 end;
end;

The Vigenère cipher is a method of encrypting alphabetic text by using a series of different Caesar ciphers based on the letters of a keyword. It is a simple form of polyalphabetic substitution.

The Vigenère (French pronunciation: [viʒnɛːʁ]) cipher has been reinvented many times. The method was originally described by Giovan Battista Bellaso in his 1553 book La cifra del. Sig. Giovan Battista Bellaso; however, the scheme was later misattributed to Blaise de Vigenère in the 19th century, and is now widely known as the “Vigenère cipher”.

This cipher is well known because while it is easy to understand and implement, it often appears to beginners to be unbreakable; this earned it the description le chiffre indéchiffrable (French for ‘the unbreakable cipher’). Consequently, many people have tried to implement encryption schemes that are essentially Vigenère ciphers, only to have them broken

Function VigenereDecrypt(sEncrypted, sKey: String): String;
var
 i, iPosCipher, iPosKey: Integer;
 sString: string;
begin
//Create our Cipher Table
 sString:= 'abcdefghijklmnopqrstuvwxyz';
//Make the key the same size or greater than the Cipher
 while Length(sEncrypted) >= Length(sKey) do
   sKey:= AnsiLowercase(sKey) + AnsiLowercase(sKey);
//Remove Spaces from Cipher
 i:=0;
  while i<=Length(sEncrypted) do
    if sEncrypted[i]=' ' then Delete(sEncrypted, i, 1)
    else Inc(i);
//Vegenere Decryption routine
 i:= 1;
  while i <= Length(sEncrypted) do
   Begin
    iPosCipher:= pred(pos(sEncrypted[i],sString));
    iPosKey   := pred(pos(sKey[i],sString));
    Result    := Result + sString[(((iPosCipher + 26) - iPosKey) mod 26) + 1];
    inc(i);
   end;
end;

Function VigenereEncrypt(sPlainText, sKey: String): String;
var
 i, iPosText, iPosKey: Integer;
 sString: string;
begin
//Create our Cipher Table
 sString:= 'abcdefghijklmnopqrstuvwxyz';
//Make the key the same size or greater than the Plain Text
 while Length(sPlainText) >= Length(sKey) do
   sKey:= AnsiLowercase(sKey) + AnsiLowercase(sKey);
//Remove Spaces from Cipher
 i:=0;
  while i<=Length(sPlainText) do
    if sPlainText[i]=' ' then Delete(sPlainText, i, 1)
    else Inc(i);
//Vegenere Encryption routine
 i:= 1;
  while i <= Length(sPlainText) do
   Begin
    iPosText:= pred(pos(sPlainText[i],sString));
    iPosKey   := pred(pos(sKey[i],sString));
    Result    := Result + sString[((iPosText  + iPosKey) mod 26) + 1];
    inc(i);
   end;
end;

Refference:

Wiki Caesar Cipher
Wiki Vigenere Cipher

2010
06.14

Well I thought we will target the delphi programmers here with some ideas to make there applications more appealing, This video tutorial is just an example of a volume bar which could be used in a media player or something similar, By watching this video I hope to spark new ideas to develop nicer GUI’s

Watch tutorials:

Delphi Volume Bar Tutorial

Update:

Just did a quick second tutorial to show how to make custom sliderbar, I talked about this in first tutorial and thought I would do a small quick one to show the example

Delphi Slider Bar Tutorial

Source code to Volume and slider bar tutorial (64)
2010
06.13

Beyluxe Password Retriever, Decrypts saved passwords in the registry, very useful if you have forgotten your passwords for beyluxe.

Source wont be released for this in-case of abuse.

BeyluXe Password Revealer (216)

2010
06.13

This is a basic text fader to type colourful text in the beyluxe rooms, with font options just like beyluXe it should be easy to use for all users. If you have multiple rooms open its just a matter of selecting the room you want to send the text to and hit the enter key(or the send button).


Vista/Windows 7 must run as admin(right click on file and click “run as admin”)

BeyluXe Text Fader (226)
2010
05.05

This program works by hooking the “send”and “recv” functions to the winsock API used in paltalk, It will only work if the user has there email available  otherwise just “*****” symbols will show. This is only a test application and when stopping the sniffer it will close paltalk to unhook.

View here

Download below

Paltalk Email Sniffer (2362)
2010
05.03

BeyluXe AutoBouncy is a admin tool, It will bounce or Reddot any users joining your room that is in the list. Also it has word Bounce/Reddot  which will apply one of these actions to anyone who type that word into your room.

AutoBouncy ScreenShot

If you have windows 7 or windows vista, you must run this program as administrator, also you must enable “Notify me when user joins room” option in beyluxe.

Download below

EDIT FIXED BUG

Update 4/5/2010

AutoBouncy (537)

2010
04.29

Well Today I have started a new project dealing with File encryption, Not yet completed and does’nt have any real features just yet(im working on it) But I thought I would share what I have in form of a screenshot…

Keep an eye on this post as I will be updating it as I progress to the finished product, All source code and binary will be avaliable here once its finished

2010
04.20

Here is an example of RC4 String encryption with a small RC4 unit for your Delphi applications, Download apps plus the delphi unit below

RC4 String Encryption/Decryption

RC4 String Encryption Unit (184)
2010
03.13

A small project to view and copy your current Windows XP Product Key, Comes with full Delphi Source code

Download:

WindowsXP Product Key Viewer & Source (368)

2010
02.11

Well Thought I would release this to the public to test, It has many bugs but does work :)

A couple of things you must done before using Autogreeter, Enable “Notify Me When User Joins” option in the beyluxe room(make sure its ticked). when starting the auto greeter make sure to tick the room you want to auto greet, this version supports multiple rooms that are open :)

Enjoy

Auto Greeter ScreenShot - Test Version

Download:

BeyluXeAutoGreeter-TestVersion (818)