Design (easy-ish) cipher C++ implentation,

From: m_houllier (none)
Date: 11/30/03


Date: Sat, 29 Nov 2003 23:35:16 -0000

Hey folk,

For a university project, I'm looking to design a cipher to encrypt using a
simple text string. Username to be parsed and password. I originally started
off with the idea of using 3Des or custom Des based for the cipher, but it's
gonna get too complicated I think, what I need is something that is feasible
to make within 2 months.

Username is 5 characters (10 bytes ASCII,)
Password up to 20 characters (40 bytes ASCII)

So, overall we have a 50 byte key size,

Now it's me final year and I want to do well :-)
So, I've done the visio etc for the program, but not the encryption process
yet.

What I propose is,

* Read the data into array
* Read username password
* Go through some permutations.
* Bit swap with the key.

I think I'm right in suggesting that the permutations are better coming
first in order to blind the data?

Anyway, any reading material / suggestions etc would be very happily
received :-)

- MH
(wants a good degree!)



Relevant Pages

  • Re: WSE 3.0 + UserNameToken without X.509 Cert/Kerberos + Signing + Encryption How?
    ... message security and thefore it does not encrypt the message. ... You need to combine this assertion with a secure transport like SSL if you ... between client and server using a UserNameToken that passes the UserName ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: WSE 2.0 SP2: UsernameTokens must be encrypted to request SCT?
    ... William Stacey, MVP ... > The SecurityTokenServiceClient class will now automatically encrypt any ... > Username tokens included in a request. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Encrypt a UsernameToken Authenticated WSE Response
    ... username and passwort und the data is symmetric encrypted, ... >> Decrypt) a SOAP Message by Using a Username and Password". ... But when I start my Client Application and call my ... >>> so that is used to generate a key to encrypt with. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: searching for encrypted fields in data columns
    ... just encrypt the password a hacker can use brute force to easily (not to me ... store this in the db. ... an encryption from the username, ... > on it but instead use the native db search/sort capabilities. ...
    (comp.lang.java.databases)
  • Password security
    ... choosing relies on AES ecryption, where the password is converted to a ... key, and the key is used to encrypt a text, which is compared to see if ... The user name is written in the section of the most signifigant bits ... however, depending on the size of the username and password, these 2 ...
    (sci.crypt)