GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

New extension: Hash / UnHash in BASE 64

Open github-actions[bot] opened this issue 6 months ago • 4 comments

Description

You can hash and unhash your string in base64.

How to use the extension

Base64::HashBase64(string)

Base64::UnHashBase64(string)

Checklist

  • [x] I've followed all of the best practices.
  • [x] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • [x] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

Image

Image

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:

!update [MyExtension.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/12709661/MyExtension.zip)

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!

github-actions[bot] avatar Jun 24 '25 22:06 github-actions[bot]

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?

D8H avatar Aug 09 '25 17:08 D8H

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) https://github.com/GDevelopApp/GDevelop-extensions/pull/1712#issuecomment-3171962435

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 https://github.com/GDevelopApp/GDevelop-extensions/pull/1712#issuecomment-3171962435, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6B7KBAEN75QPQKDKMFD5AT3MYXD7AVCNFSM6AAAAACABUY72OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNZRHE3DENBTGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

arkunis avatar Aug 09 '25 17:08 arkunis

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.

D8H avatar Aug 09 '25 18:08 D8H

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) https://github.com/GDevelopApp/GDevelop-extensions/pull/1712#issuecomment-3171991178

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 https://github.com/GDevelopApp/GDevelop-extensions/pull/1712#issuecomment-3171991178, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6B7KBCWXVUKIRJUK7ZB7H33MYZ3XAVCNFSM6AAAAACABUY72OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNZRHE4TCMJXHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

arkunis avatar Aug 09 '25 18:08 arkunis