-
Notifications
You must be signed in to change notification settings - Fork 61
New extension: Hash / UnHash in BASE 64 #1712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
github-actions
wants to merge
1
commit into
main
Choose a base branch
from
extension/arkunis/1711
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d496137
to
3e91ce3
Compare
Thank you for submitting an extension. I'm a bit confused:
Can you give a few use-cases that will help understand your extension purpose? |
I used this encryption method, so base 64, to encrypt the saves and allow
the user or developers to be able to decrypt the save directly in the game.
This prevents us from having an external save, so in Jason format for
example, which is accessible and visible to the player. This prevents, in
quotes, your game from being hacked, but it can be used for many other
things to recover sensitive data that can possibly be sent in databases,
etcetera.
Le sam. 9 août 2025, 19:41, D8H ***@***.***> a écrit :
… *D8H* left a comment (GDevelopApp/GDevelop-extensions#1712)
<#1712 (comment)>
Thank you for submitting an extension.
I'm a bit confused:
- Usually, base 64 conversion is used to embed binary data into a text
document
- A hash is an irreversible process, base conversions are not hashing
functions
Can you give a few use-cases that will help understand your extension
purpose?
—
Reply to this email directly, view it on GitHub
<#1712 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6B7KBAEN75QPQKDKMFD5AT3MYXD7AVCNFSM6AAAAACABUY72OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNZRHE3DENBTGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
A base 64 conversion is not an encryption since anyone can access to the original text. |
For an exemple you get a big json
If you convert it to base 64 you have a lower text.
But it just for dissuade someone to check any text for modifie it.
Obviously if you have an experience in dev it easy for uncrypt base64.
WE have a real difference between hash and crypt.
Crypt it just for hide something but it can be uncrypt.
Hash it unhashable.
Some friend want to "crypt" the save in base 64 just for save any data in
json.
🙂
Le sam. 9 août 2025, 20:04, D8H ***@***.***> a écrit :
… *D8H* left a comment (GDevelopApp/GDevelop-extensions#1712)
<#1712 (comment)>
A base 64 conversion is not an encryption since anyone can access to the
original text.
Also, if you convert a text from base 256 to base 64, it results in a
bigger string, so It's not for compression either I guess.
—
Reply to this email directly, view it on GitHub
<#1712 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6B7KBCWXVUKIRJUK7ZB7H33MYZ3XAVCNFSM6AAAAACABUY72OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNZRHE4TCMJXHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
⌨ JavaScript
Uses JavaScript code, and thereby needs a reviewer who knows JavaScript.
✨ New extension
A new extension
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
You can hash and unhash your string in base64.
How to use the extension
Base64::HashBase64(string)
Base64::UnHashBase64(string)
Checklist
What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
Extension file
Base64.zip
Extension by @arkunis
You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type
!update
, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!