Re: Basic encryption
From: Richard (shnuber_at_hotmail.com)
Date: 11/13/03
- Next message: Ekkehard Morgenstern: "Re: Opinions about underscores in names"
- Previous message: Victor Bazarov: "Re: Inheriting overloaded operators"
- In reply to: Richard: "Basic encryption"
- Next in thread: Ekkehard Morgenstern: "Re: Basic encryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 13 Nov 2003 08:02:29 -0800
Thanks guys,
Ya i took into consideration when you shift you loose bits. I was
justORing it with 0x80 for char to test if bit was 1/0 so i could tack
it on the end i was shifting into.
I should be able to get it right by trial and error.
shnuber@hotmail.com (Richard) wrote in message news:<3bcbbb8a.0311121001.68f33ed2@posting.google.com>...
> I'm looking to do my own basic encryption. I've been tyring to do a
> concept such as:
>
> I pass this function the string, key and number of rounds I want to do
> the encryption. because im round shifting the bits the decryption
> doesn't work.. :P
> Am I going about this all wrong or does anybody know an easier way
> (besides getting an open source algo class such as Crypto++)
>
> I'm super new to fooling with the bits/encryption
>
> for(;num of rounds;)
> {
> char ^ Key;
> Round bit shift;
> }
- Next message: Ekkehard Morgenstern: "Re: Opinions about underscores in names"
- Previous message: Victor Bazarov: "Re: Inheriting overloaded operators"
- In reply to: Richard: "Basic encryption"
- Next in thread: Ekkehard Morgenstern: "Re: Basic encryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|