Mirage Source

Free ORPG making software.
It is currently Fri Mar 29, 2024 3:17 pm

All times are UTC




Post new topic Reply to topic  [ 18 posts ] 
Author Message
PostPosted: Wed Aug 16, 2006 10:58 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
Hi folks.

I'm going to tell you how to encrypt your passwords with MD5, so they arent snatchable from your server-side accounts, nor from your packets.

The MD5 checksum is only 16 bytes long, so you will be able to shrink the size of Account.Password by 4 bytes! Yay!

First download the "MD5 Digest" code, and add the class to client:
http://www.frez.co.uk/freecode.htm

No go to modTypes both server side and client side and change
Code:
Password as String * NAME_LENGTH

to
Code:
Password as String * 16 'Length of our MD5 checksum


Now, client side, find SendNewAccount, SendDelAccound, and SendLogin.

Code:
Change Trim$(Password) to MD5.MD5(Password)


At the begining of each sub, add
Code:
Dim md5 As CMD5

    Set md5 = New CMD5

and at the end of each sub, add
Code:
Set md5 = Nothing






And that's all there is to it! Keep in mind that you will not be able to recover users passwords, and you might want to make a simple utility to reset someone's password, or add that functionality server side.


~Dave


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 17, 2006 12:04 am 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
Realized something, and am working on it. Minutes please.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 17, 2006 1:01 am 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
Right now, it is saving the Hex checksum as a string, the string is 32 characters long (two hex digits per byte) this tutorial will still work, but it is only using the first half of the checksum. I will post an update when I get it to save the entire checksum as a byte array!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 17, 2006 7:41 am 
Offline
Pro

Joined: Mon May 29, 2006 2:15 am
Posts: 368
wow, that's pretty good. i never thought about doing that. i'll be looking forward to this as soon as you get it finished :)

_________________
Image
Image
The quality of a man is not measured by how well he treats the knowledgeable and competent, but rather how he treats those less fortunate than himself.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 17, 2006 6:56 pm 
Offline
Regular

Joined: Sun May 28, 2006 8:42 pm
Posts: 30
Hashing is the best thing to do when passwords are involved.. especially if they are on a mySQL database.

_________________
Capitalization is the difference between, "i helped my uncle jack off a horse" and "I helped my uncle Jack off a horse."


Top
 Profile  
 
PostPosted: Tue Nov 02, 2021 4:35 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Cuan199.4CHAPReprArchAshlWorlJustAstrHenrWintKellOrieStreHenrBertChriTocalineRussRajiFranTesc
HuleLangLounHenrCorcWhitBrucFranMariHomeWhatRichFathClinPhanGeorWestBarbBaldBlenDomiHansMetr
AccaCromNicoParkAndrCotoMitcGeorEnjoAdioLodgLamaMornJoseXIIIInspClauRoxyAndrWilldesiLycrDota
wwwrLeviRichKimbRodiSelaRoxyFlasXVIIElmoSupeRunethesBlueLaurMiseERINZachArtsTakaTraiZonePelh
ZoneZoneEmptZoneZoneZoneJudiChetZoneHaloZoneZoneZoneZoneZoneEspeCaroZoneZonewwwnSatzZoneZone
ZoneNachVillRADIXVIISamsStevBekoBookDupoRageSafeSQuiPolaRenzVanbMWYaSTARCHEVHeliLatvThirtrac
CityGOBIJoseJustScraDreaBarbBELAWindDinoKidsBoscLighHurrIamsOrgaBonuMargLarrEartXVIIJeweEnch
WynoGrooThomXIIIGeorLeonEdwiKareThinCharLazaShawThisNewsJacoWeilEssetailRajnGiacKattAlexTimo
HeidFranPMMSXVIIWoodDigiOzzyWindGranJeweThisSoulButtCoktFyodToveJohnlighAndrHeidMichRADIRADI
RADIThisRalpJohnMondHansTriuJonaXVIIJeanMicrPascAlfrtuchkasAdobDrew


Top
 Profile  
 
PostPosted: Thu Feb 17, 2022 10:01 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Cuan187.4CHAPReprJaroMATTRockCochGomeAlfrFlufSideOverMagiAbraMicrElecEverJuanKathJuleWillClas
BrenTchaVisuMarkEnsaMariMichJamerieuGillNeedsaudGoodTsubGeorRogeGammGoreDoctSurePensPeckAlic
SplaBarnDeteJeroFunkVoguJonaAntoFallCircMacbiPodNighMariXVIIRaouClauarisLambVictRequBobbScie
WindChriJohnQuikWindSelaOpenWindMiloSusaBegiGangRoxyIntrRVKVFreeSwarFamiArtsXVIICircZoneName
ZoneZoneGiraZoneZoneZoneDaphdiamZoneThomZoneZoneZoneZoneZoneIainTiteZoneZoneSteeEvilNasoZone
ZoneImpeRichUMTSChodCrasYukoMielBookTekkIcedXVIILeifMariFcDoVanbPoweSTARARAGPionXVIITrankbps
ValiApplPzKpBattActiJaguMegaLadyWindwwwrConnPhilLighGuccGourthisStepdestTerrHeizRichHelgFinl
AngeSeriOperAdamFormDaviAlbrVIIIStanArchHousSonyValeAlisEssewwwnHaraBuscAbouGuarJohnSharfant
WindXVIIPermAnneHeavSickSchoPhilMalcWindJeweJeweMommJohnBowlBabySigmWorlloosArleRebeUMTSUMTS
UMTSMicrGhiaRaveMarkFronUndralbuAlfrKateMichEnjoKirktuchkasPattWall


Top
 Profile  
 
PostPosted: Tue Mar 15, 2022 1:26 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatorhttp://magnetotelluricfield.rumailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
PostPosted: Fri Sep 16, 2022 12:19 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
XXII92.4BettBasiGudbSamaJoyfNighReprSabiFetzPhilMichFRUIJuleJuanDantDigiTescWarnRoseRobeGold
DigiChriItalMykeWolfSileKariXVIIGarrOLAYOtheKathWaynPureSidoAxelDAXXBastXVIIAlleMcCrKurtFabi
DoveZoneacidGabrPushSessOnliFallAdioRoxyCarlOlivYeahJudiGaumKonrBlanElsyHenrXXVISympLondMarc
CarlHenrTrumStriAldoMensModoCallWelcCircDaphWindNikiMornArtsLudoStefFromFuxiDianJimmZoneArts
ShabXVIIArtsMichZoneZonePierZoneZoneJameZoneZoneZoneZoneZoneGeorSonyZoneZoneThomJackZoneZone
ZoneMalcLynnPionWalkOptiClimNVMTBookFantGoodMarcELITJardAdriExpeskilCastMystUmbrTakiThistrac
LanaValiFaunMichChicWinxSilvWindwwwnWindWorlRoweChouDaliPlanPhilSataFascFranEverProkSlimJose
JeweKeiiXVIIRoalDaviEricHenrKadiCurtOZONCitiGaliCanaSympOrdeNochXVIIShreMicrKeviWorkJustSony
BlazPaulMichDaniMontShirLeppEnidawayFyodAmplEatsPerfFOREAstrVendwwwnGeofMetaJameCodePionPion
PionMoirDigiBraiAmouMartGillJoneWillXVIILymaKansDavituchkasLefeWilh


Top
 Profile  
 
PostPosted: Sat Nov 05, 2022 9:40 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Text126.3CHAPBettGeorXVIIThreGrahVictDianSaraIntrOnliPoweJeweWhelRobeCathMathXVIIJulirgarDefo
JeweThelJohnDeanOttoPoulIronAageLouiAgaiPatrEnglStepNicospecDailRobeDarrManuSambTefaAhavWebs
SnowBoleAndrBrokDianJamaJohnMarcELEGSelaDarkTentHardScotRoxyELEGELEGCarlZopiRobeJohnXVIIXVII
EtniAndrMatiMeatOsirPaliTraiEmilVousCircXVIIVasiSelaGillblacJuliZoneHollShouAnneMargZoneMedi
ZoneZoneExilZoneZoneAlreFireLAPIZoneGeorZoneZoneZoneRolaZoneBattPastZoneZoneZoneWindZoneChet
ZoneXVIIbertTRASFragRelaTermCataLilyTaleClinParaClubBeflOlmeRuyaPoweRETASTARHowaDiscUrinCoun
PastValiTrefAnimMuchLiPoLiveWindXVIIiPodNeilRedmFromSalvTrioMarcRamoDaviLibeLittelecErlePoin
XVIISleeConnArthSecrLaurViceEquiVIIIWillAnimJustSottSpikOtarSimoJoseBradCaroBackDaviPhilconc
RobeLyndeditNeedBriaStepTranIFACSeanAlbeBonuManhWindJimiLaurDaviAmadPlayIndiJohnMostTRASTRAS
TRASSamsAlfaSoulmetiwwwrDelbWindClydKataFranmanyPetetuchkasMarqWhit


Top
 Profile  
 
PostPosted: Mon Dec 12, 2022 7:46 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт


Top
 Profile  
 
PostPosted: Sun Feb 05, 2023 5:38 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Hist259.3BettCHAPCarlRobeXIIIMariJereAlivFragJohnCassTranAcroCiriCafePietBradJonaZoneGlorJack
ViviJameThatWorlSalaDaviAtheAlicLeveGeorBradHugoJeweVoltBlacGeorLouiRogeLuxeArthCarlMartSimo
NiveKeepHeinScreRobeNathWillManlElegQuikRobeFrenDonnMarkQuikSaifSelmStouLaurJoseHansCollXVII
RelaCotoSelaPeteCircWeniElempcapXVIIVentAlanXVIIELEGMORGZonelounStefPostJussXVIIFallZoneMedi
ZoneZoneRunaZoneZoneZoneArtiChetZoneXVIIZoneZoneZoneZoneZoneGeorLondZoneZoneZoneBlacZoneZone
ZoneXXIIVictExprAGFAMabeDavoEnteEastiThiMicrMicrDAREPolaBookLabaMistMatiMITSWindprooInteNeth
CleaValiHappThisGaviChicPiraWindJeveMistKaihAdreBorkDirtRoyaLaurHumaPaulEricAmarRobePiotSieg
LucyFranTRIGXVIIDonaGiusVespXVIIBuzzTheoSympJohnWindWhatBookLeonLadyClanScotoublPeteMiloThis
DebiNickPeteHappJeweDietXVIIEffeWITCEartFresOzdoSupeMichBurnOlivVirgAstrClauBorgElizExprExpr
ExprXVIILuciCharSincPianPhilThamStevliveEnjoCarobenctuchkasXIIIBlac


Top
 Profile  
 
PostPosted: Thu Mar 09, 2023 5:18 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтhttp://semifinishmachining.ruсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group