Jump to content
coisox

Camne Nak Hasilkan Data "cacing"?

Recommended Posts

Soalan general, takde spesifik ngan mana2 bahasa programming.

Aku buat function save/load highscore (cth pakai C++). So masa save tu, aku open laa port utk "write" ke file .txt. Masalahnya, kalau org bukak file .txt tu, org boleh paham dan edit. So camne nak tukar jadi tulisan "cacing"? Macam kita main game, kalau kita bukak file .sav, .dat, etc, semua nya cacing. Apa pendekatan termudah selain dari aku rojakkan manually guna encription sifer misalnya.

Boleh tak kalau masa nak write, aku panggil library utk guna encoding Chinese UTF8 etc? Atau bahasa pelik2 yg mana akan hasilkan cacing kalau bukak kat notepad.

Share this post


Link to post
Share on other sites

The best way, encrypt je....

Aku clalu guna IDEA (google untuk info lagi).

Tapi, untuk program yang xperlukan security yang tggi, cam file highscore ni, dah memadai klu ko save as .db

menggunakan SQLite...byk web n forum ajar cara nak guna SQLite ni..

SQLite ni mmg dah ada kat sme PC yang guna windows...

Share this post


Link to post
Share on other sites
hmm.. ada semulajadi ker SQLite ni kat PC Windows, aku rasa cam kena Download dan Install jerk. Kalo aku buat system pakai ASP nnt aku cuba pakai.

TQ for the info, sbb aku asyik gu MySQL jerk.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...