Hey Koders, Nikhil here,
And i’m back with my new guide in which we will see that how can we secure our data if it is stored offline.
But Remember one thing that Everything is Hack-able but Instead of having no Security it but better to Increase Security
Basically we will learn about How we can embed custom Encryption?
So in this guide i’ll take very simple example… Before moving to blocks lets understand some basic concepts…
- Basic programming knowledge
- Logic Building
- Patience until you understand this guide because the guide will be little bit conceptual…
Encryption is a transformed type of genuine information where only the authorised parties or admin know how to read it, so if somebody has access to these files they would still not be able to understand the message in it.
Decryption is taking encoded or encrypted text or other data and converting it back into text you or the computer can read and understand
Let have a look that how encryption will help you to secure data?
Below I have given video that how its easy to hack data when you will have no encryption.
as you have seen that point is not edited in app also in the end the value0 you saw is you point but stored in encryted form…
So according to above video I have replaced every digit with pair strings of length 3. You may understand more easily by following example -
Below is list every digit I’m Replacing with…
1 = asd
2 = nms
3 = wed
4 = frt
5 = ghy
6 = jui
7 = kio
8 = lop
9 = zas
0 = xdd
So from above library, We will easily read following value that was stored in app
So wedxddxdd will be also written like this
wed = 3
xdd = 0
xdd = 0
therefore we will conclude that value is 300.
but now if you have question that it is hacked so what about security then answer is… user don’t know the library you used only admin knows so it will be easy to hack for admin. Also I am using very easy encryption…
Lets proceed to block
We will see all the procedure part by part…
So on screen initialization we are refreshing value stored in Points tag by passing encrypted value to procedure GetPoints for Decryption… So if anybody changes values in points then it will we useless as data is being refreshed. Now if you have question that if we change encrypted value then points will be increased… so for that not everyone knows your library so it will not be easy to change for them and if they changes encryted value with pair other than library then while decryption you can detect it making some logic…
From the following procedure we will get number or points back.
In above procedure we will pass encrypted text to get our point back, For example if we paas asdxdd then it will return 10.
From the Above procedure we will get Encrypted text for any number…
From above block you may be question why we are not taking points tag directly while adding.
so i would like to tell you that there are some app that are used to change app data during runtime… so suppose while you do redemption in your app and user changes value of point tag during runtime then it will be hacked but if we take refreshed data then it will not be that easy.
Means We must have to do all operation with encrypted value for more Security
I’ll suggest one thing always create your own encryption as you can see following which creates new tag for every digit
Encryption.aia (5.2 KB)
Encryption.apk (5.0 MB)
- API keys… and credential info
- Saving payment related values
- even security methods too(will be released soom)
If you are hacker and want to team up to help me securing app then pls follow below post
For more ideas read this
Is it useful?
You this guide helped you like the guide…
Hope you understand!!