• About
  • Archives
  • Categories
  • Archive for the ‘Fourth Year’ Category

    A Multilayer Perceptron Library in C# with OCR Demo


    2010 - 06.03

    Multilayer Perceptron (MLP) is a well known field of study in the Neural Networks.

    It’s has been widely used in various fields of machine learning.

    Demo: An Optical Character Recognition (OCR) Demo on MLP library

    Welcome WizardWizard to assist user input for various setup parameters of the MLP.

    Input SamplesSpecify File Path which contains Samples’ Data with an option to normalize those features in the file.

    Desired DataSpecify File Path which contains Desired Data.

    Layers SetupLayers setup, including activation functions and learning rates of each.

    Note that input and output neurons are already pre-calculated from previous 2 wizard steps.

    Additional ConfigSpecifying additional configurations for learning satisfiable conditions.

    Finish WizardFinish Wizard.

    MLP DrawAdditional Option to draw the MLP specified for demonstration purposes.

    Windows 7 SupportLearning in a separate thread with an option to stop at anytime.

    Note that Demo has support for window 7 Aero and Taskbar features.

    GraphLearning error output graph.

    Download:-

    Multilayer Perceptron lib

    OCR Demo

    iCryptography – A C# Cryptography Library


    2010 - 05.24

    Features

    [.Net 3.5 Technology Compliant Class Library]
    [OOP]
    [Universal Input Validation]
    [Illustrative UI]
    [Different Modes [ASCII/HEX/Binary/File]]
    [All Algorithms Working under optimized Byte Arrays]
    ——[Chapter 2]——
    [1] General Caesar
    [2] Monoalphabetic
    – Random Cipher Generation
    – Validation for duplicates
    [3] Vigenere
    – Auto key & Repeating Key Generation
    – Auto-update
    [4] Playfair
    – Auto-Draw Digram Cipher
    – Auto-Validate Input for duplicates & size
    [5] Hill Cipher
    – Auto-Pad
    – Auto-Draw Key Matrix
    – Validate Sizes
    [6] Rail Fence
    – Draw Tree
    – Auto-update
    [7] Columnar
    – Auto-Divide input across available places
    – Auto-Draw user input text
    – User defined key & Key size
    ——[Chapter 3]——
    [1] DES
    – View all keys
    ——[Chapter 4]——
    [1] Extended Euclids
    [2] GCD
    ——[Chapter 5]——
    [1] AES
    – Different Key Sizes [128/192/256 bits]
    ——[Chapter 6]——
    [1] RC4
    [2] Triple-DES
    ——[Chapter 8]——
    [1] Primality Test
    – Fermat’s
    – Miller-Rabin
    ——[Chapter 9]——
    [1] RSA
    – Generate Random Private Key
    ——[Chapter 10]——
    [1] Diffe Hellman
    [2] ECC
    – Generate Random Private Key
    – Key Exchange
    ——[Chapter 12]——
    [1] MD5
    [2] SHA-1
    ——[Chapter 13]——
    [1] DSS

    This Library is organized by NameSpaces based on chapters from Cryptography and Network Security by William Stallings

    Download:-

    Dll Library [v.1]

    Demo App [v.1]

    Chat Application using WCF


    2010 - 04.01

    Chat Application using WCF NetTcpBinding

    Features:-

    [V.2] 24.05.10

    + Support for (two way) Authentication, Confidentiality & Integrity using RSA Public Key Encryption/Decryption & MD5 Hashing (currently working only for user passwords)

    Procedure:-

    1- Calculate Password’s MD5 Hash

    2- Encrypt Using User’s Private Key

    3- Append to Original Password

    4- Encrypt whole Packet with Server’s Public Key

    + FIX: Nudge Glitches

    ———————————————————-

    [V.1]

    + Support user registeration

    + Support adding contacts using their usernames

    + Allow user to accept or reject adding requests

    + Show user’s contact list showing who’s online and who’s offline

    + Support Contact status

    + Support Contact DP

    + Update status & DP for online conacts

    + Allow sending and receiving text message to and from any online contact

    + ‘Enter’ to send ‘Cntl-Enter’ for new line

    + Toolbar notifications

    + User is writing..

    + Added Icons

    + Added invitations

    + Support sending emotions within text messages

    + Selecting an emotion

    + Auto detect emotions (When writing or copy-paste)

    + Nudge

    + Nudge lock for 1 minute

    + Asynchronous Calls

    + Send offline msgs

    + Show offline messages to the user once s/he goes online

    + Allow sending files (of any type or format) to an online contact (700 MB+)

    + Support Video conversation (each peer sees the other peer’s live camera)

    + Support Audio conversation (each peer hears the other peer’s live voice)

    -> [Security Measures] <-

    + Generate a session key (random number) to be assigned to each online user & used to communication with the server

    + Appending a random number to each contacts’ Display Pictures

    + Generate a random invitation ID foreach sent invitation and store receiver’s response along with the invitation ID

    Screenshots:-

    Registration Window

    Chat Window

    Smilies

    Invitations

    Download:-

    Executables (Host &  Client) [V.2]

    Executables (Host &  Client) [V.1]

    Documentation