Hi i am building a program that will take the text of a supplied file and encrypt using a password then save the encrypted text in another file. To decrypt the file you must provide the same password used to create the file. the program encrypts the text at a rate of about 5000 characters per second on a 500mhz Intel Pentium 3 running windows xp pro. I as wondering if that was an okay speed or if it is really slow. i have included a sample text document and the text file i get after i encrypt the text. Any info would be greatly appreciated.
NathanOliver 429 Veteran Poster Featured Poster
This attachment is potentially unsafe to open. It may be an executable that is capable of making changes to your file system, or it may require specific software to open. Use caution and only open this attachment if you are comfortable working with octet-stream files.
The attachment preview is chopped off after the first 10 KB. Please download the entire file.
CCG: Baldur's Gate Cheats, Codes, & Cheat CodesIGN.com|AskMen.com|Rotten
Tomatoes|GameSpy|FilePlanet|TeamXbox|CheatsCodesGuides|GameStats|Direct2Drive|Green
Pixels
System Cheats | Send Cheats | Top Cheats More Platforms
Choose a Platform PlayStation 2 CheatsPlayStation 3
CheatsXbox 360 CheatsWii CheatsXbox CheatsGameCube
CheatsNintendo DS CheatsPlayStation Portable CheatsPC
Cheats3DO CheatsAmiga CheatsArcade CheatsAtari 2600
CheatsAtari 5200 CheatsAtari 7800 CheatsCD-i
CheatsColecovision CheatsCommodore 64/128 CheatsDreamcast
CheatsDreamcast VMU CheatsGame Boy CheatsGame Boy Color
CheatsGame Gear CheatsGame.Com CheatsGenesis
CheatsIntellivision CheatsJaguar CheatsLynx CheatsMacintosh
CheatsMaster System CheatsNES CheatsNeoGeo CheatsNeoGeo CD
CheatsNeoGeo Pocket Color CheatsNintendo 64 CheatsPC-FX
CheatsPinball CheatsPlayStation CheatsSaturn CheatsSega 32X
CheatsSega CD CheatsSuper NES CheatsTurboGrafx/Duo/PC Engine
CheatsVectrex CheatsVirtual Boy CheatsWonderSwan
CheatsWonderSwan Color Cheats
SEARCH:The WebCheats
Google user? Power up your search with the latest scoops from
CheatsCodesGuides by subscribing to our CheatsCodesGuides Profile at
Google Co-op.
PC
Cheats
Hot Links
Visit IGN for more info on
Baldur's Gate
FAQs
Game Profile
Game Previews
Game Reviews
Game News
Game Features
GameStats.com GPMs
GameStats.com GPMs
About the Gauge
Add this game to your email alert list
Free Guides, Fresh Guides, and Classic Guides all from your friends at
IGN! >>Home >>PC Cheats >>Baldur's Gate Cheats
Baldur's Gate Cheats
Tags: Baldur's Gate Cheats, Baldur's Gate Cheat Codes, Baldur's Gate
Hints, Baldur's Gate Secrets
Platform: PC
Baldur's Gate Easy Level Gain and Money in Multiplayer Games
When starting the game in the Town of Candlekeep do all the "Quests"
(errands for guards, and other characters). That means anything that gives
experience. Once you have done this go to the Character Screen and export
your character.
End the game and start a new game and import character. This allows you to
start the game with the amount of experience that you had gained. Repeat
until satisfied.
If you started game as thief or strong warrior and thief has high enough
lockpicking skills. You may bust or unlock a chest in the starting Inn on
the second floor, that contains a gem that is worth 1,000 gold peices.
Baldur's Gate Earn Easy XP
A very easy way to get XP, as long as your allignmnet allows this (if you
are not a paladin or other lawful or good character) is find a "cloudkill"
scroll. When you find one, go to Nashkel. In the tavern next to the bridge
you'll find Volo. Go to the back room of the tavern and have a spellcaster
cast the "cloudkill" aimed at Volo. Get out of the spell's radius so you
don't get killed. Volo will die and yield 650 XP. He will immediately
ressurect and die again, and again, and again. Get the picture?
Baldur's Gate Create Your Own Items
Use any text editor (Notepad for example) and open the file Baldur.ini in
your Baldur's Gate directory. Add the line Cheats=1 under the [Game
Options] entry then save the file and run the game.
Once in the game, hit Ctrl-Tab to bring up the console in which you type
the cheats. Ctrl-Tab will also close this console. Type in the cheat
exactly as they appear below and hit the Enter key to activate.
CLUAConsole:CreateItem("xxx") where xxx is the code for an item:
AMUL01 - Necklace of Missiles
AMUL02 - Necklace
AMUL04 - Studded Necklace with Zios Gems
AMUL05 - Bluestone Necklace
AMUL06 - Agni Mani Necklace
AMUL07 - Rainbow Obsidian Necklace
AMUL08 - Tiger Cowrie Shell Necklace
AMUL09 - Silver Necklace
AMUL10 - Gold Necklace
AMUL11 - Pearl Necklace
AMUL12 - Laeral's Tear Necklace (3000 gp)
AMUL13 - Bloodstone Amulet
AMUL14 - Amulet of Protection +1
AMUL15 - Shield Amulet
AMUL16 - Amulet of Metaspell Influence (+1 2nd level spell)
AROW01 - Arrow
AROW02 - Arrow +1
AROW03 - Arrow of Slaying
AROW04 - Acid Arrow
AROW05 - Arrow of Biting
AROW06 - Arrow of Detonation
AROW07 - Arrow or Dispelling
AROW08 - Arrow of Fire
AROW09 - Arrow of Ice
AROW10 - Arrow of Piercing
AROW11 - Arrow +2
AROW1A - Arrow +2 (different picture)
AX1H01 - Battle Axe
AX1H02 - Battle Axe +1
AX1H03 - Battle Axe +2
AX1H04 - Throwing Axe
AX1H05 - Throwing Axe +2
BELT01 - Girdle
BELT02 - Golden Girdle
BELT03 - Girdle of Bluntness
BELT04 - Girdle of Piercing
BELT05 - Girdle of Sex Change
BLUN01 - Club
BLUN02 - Flail
BLUN03 - Flail +1
BLUN04 - Mace
BLUN05 - Mace +1
BLUN06 - Morning Star
BLUN07 - Morning Star +1
BLUN08 = Flail
BOLT01 - Bolt
BOLT02 - Bolt +1
BOLT03 - Bolt of Lightning
BOLT04 - Bolt of Biting
BOLT05 - Bolt of Polymorphing
BOLT06 - Bolt +2
BOOK01 - Magical Book
BOOK02 - Spell Book
BOOK03 - +1 Con
BOOK04 - +1 Str
BOOK05 - +1 Dex
BOOK06 - +1 Int
BOOK07 - +1 Chr
BOOK08 - +1 Wis
BOOK09 - Normal Book
BOOK10 through BOOK67 - miscellaneous Histories
BOOK68 = Book of Ancient Knowledge/History of the Nether Scrolls (must be
Identified)
BOOK70 = Yago's Book of Curses
BOOT01 - Boots of Speed
BOOT02 - Boots of Stealth
BOOT03 - Boots of the North
BOOT04 - Boots of Avoidance
BOOT05 - Boots of Grounding
BOW01 - Composite Long Bow
BOW02 - Composite Long Bow +1
BOW03 - Long Bow
BOW04 - Long Bow +1
BOW05 - Short Bow
BOW06 - Short Bow +1
BOW07 - Long Bow of Marksmanship
BOW08 - Eagle Bow
BRAC01 - Bracers of Defense AC 8
BRAC02 - Bracers of Defense AC 7
BRAC03 - Bracers of Defense AC 6
BRAC04 - Bracers of Archery
BRAC05 - Bracers
BRAC06 - Gauntlets of Ogre Power
BRAC07 - Gauntlets of Dexterity
BRAC08 - Gauntlets of Fumbling
BRAC09 - Gauntlets of Weapon Skill
BRAC10 - Gauntlets of Weapon Expertise
BULL01 - Bullet
BULL02 - Bullet +1
BULL03 - Bullet +2
CHAN01 - Chainmail
CHAN02 - Chainmail +1
CHAN03 - Chainmail +2
CHAN04 - Splint Mail
CHAN05 - Splint Mail +1
CHAN06 - Mithril Chain Mail +4
CLCK01 - Cloak of Protection +1
CLCK02 - Cloak of Protection +2
CLCK03 - Cloak of Displacement
CLCK04 - Cloak of the Wolf
CLCK05 - Cloak of Balduran
CLCK06 - Cloak of Non-Detection
CLCK07 - Nymph Cloak
CLCK08 = Algernon's Cloak (+2 Charisma)
CLCK09 = Mage Robe of Cold Resistance
CLCK10 = Mage Robe of Fire Resistance
CLCK11 = Mage Robe of Electrical Resistance
CLCK12 = Knave's Robe
CLCK13 = Traveller's Robe
CLCK14 = Adventurer's Robe
CLCK15 = Robe of the Good Archmagi
CLCK16 = Robe of the Neutral Archmagi
CLCK17 = Robe of the Evil Archmagi
CLCK18 = Knave's Robe
CLCK19 = Robe of the Good Archmagi
DAGG01 - Dagger
DAGG02 - Dagger +1
DAGG03 - Dagger +2
DAGG04 - Dagger +2, Longtooth
DAGG05 - Throwing Dagger
DAGG06 = Nester's Dagger
DAGG07 = Kylee's Dagger
DAGG08 = Hentold's Dagger
DART01 - Dart
DART02 - Dart +1
DART03 - Dart of Stunning
DART04 - Dart of Wounding
HALB01 - Halberd
HALB02 - Halberd +1
HALB03 - Halberd +2
HAMM01 - War Hammer
HAMM02 - War Hammer +1
HAMM03 - War hammer +2
HELM01 - Helmet
HELM02 - Helm of Opposite Alignment
HELM03 - Helm of Glory
HELM04 - Helm of Defense
HELM05 - Helm of Infravision
HELM06 - Helm of Charm Protection
HELM07 - Helm of Balduran
HELM08 through HELM13 = Regular helmets, but several different
pictures/styles
LEAT01 - Leather Armor
LEAT02 - Leather Armor +1
LEAT03 - Leather Armor +2
LEAT04 - Studded Leather Armor
LEAT05 - Studded Leather Armor +1
LEAT06 - Studded Leather Armor +2, missile attraction
LEAT07 - Studded Leather Armor +2
LEAT08 - Shadow Armor
MISC01 - Winter Wolf Pelt
MISC02 = Mirror (no picture)
MISC03 = Small Box (no picture)
MISC04 = Bassilus' Holy Symbol
MISC07 - Gold Piece
MISC12 - Ankheg Shell
MISC13 - Samuel (body)
MISC16 - Fire Agate Gem
MISC17 - Lynx Eye Gem
MISC18 - Sunstone Gem
MISC19 - Turquoise Gem
MISC20 - Bloodstone Gem
MISC21 - Skydrop Gem
MISC22 - Andar Gem
MISC23 - Jasper Gem
MISC24 - Tchazar Gem
MISC25 - Zircon Gem
MISC26 - Iol Gem
MISC27 - Moonstone Gem
MISC28 - Waterstar Gem
MISC29 - Ziose Gem
MISC30 - Chrysoberyl Gem
MISC31 - Star Diopside Gem
MISC32 - Shandon Gem
MISC33 - Aquamarine Gem
MISC34 - Garnet Gem
MISC35 - Horn Coral Gem
MISC36 - Pearl
MISC37 - Sphene Gem
MISC38 - Black Opal
MISC39 - Water Opal
MISC40 - Moonbar Gem
MISC41 - Star Sapphire
MISC42 - Diamond
csurfer 422 Posting Pro
Well what are you aiming your text encryptor to work for? It just depends on the application for which you are designing it for. More over the efficiency of working of your encryptor also matters.If its fast but not a good encoder then its a waste. And what type of encryption are you using? I mean the kind of cipher ?
NathanOliver 429 Veteran Poster Featured Poster
the cipher is a combination of a block and stream cipher. i did the math and it comes out to be a 256 bit cipher and i am working on upgrading it to be have a 512 bit method as well. my general purpose for this for the transmission of documents over networks where there is a possibility where the data might cross an unsecured connection or where there is a possibility that the route the data will take will go through a country/server where it might be copied.
vmanes 1,165 Posting Virtuoso
How big a block are you reading from the source file? It might be the file I/O is your bottleneck if you read in many small chunks.
csurfer 422 Posting Pro
Well check out the uniqueness of the password because if numbers are used as passwords then in most substitution and some block ciphers you get the same encryption or decryption for two passwords. And the speed is ok I suppose 5000 chars per sec thats nearly 39 kbps.Well for this you need to check in with a network expert because the speed which we are talking about is not transmission speed its the pre-transmission work and is considered as a delay.
NathanOliver 429 Veteran Poster Featured Poster
with the key used i use 4 different techniques to generate the key for the encryption. I use the password size, the characters in the password and the size of the text plus random characters in the text. I'm pretty sure that with this the only way to decrypt the text is to have the exact password and text. i read the entire text at one time and then randomly pad the text with characters to make it an even size
ArkM 1,090 Postaholic
>the program encrypts the text at a rate of about 5000 characters per second on a 500mhz Intel Pentium 3 running windows xp pro.
It looks like an extremely low speed. I think that's a lower bound of a "good" speed (for more complex than DES chiphers): ~5-10 Mbytes/second. Try to optimize your code. I'm sure that's possible to do...
NathanOliver 429 Veteran Poster Featured Poster
thank you all for your answers i just wasn't sure what type of speed i should be looking for.
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.