Beta versions are not as thoroughly tested as stable

Beta versions are not as thoroughly tested as stable

Beta branch

Construct 3 r340

New Cryptography plugin; Binary Data compression; bug fixes

02 May, 2023 ()

Email Me New Releases

Don't miss out on the latest and greatest new features in Construct 3

Create an Account

Notes

This release adds several new options for managing data. First up is the new Cryptography plugin, which allows for both encryption/decryption and hashing. There's also now compression and decompression features in the Binary Data object. This allows for new data processing capabilities like compressing JSON data and encrypting it before saving it to storage. Check out the three new examples that demonstrate encryption, hashing and compression to see it all in action. Other than that there are a few bug fixes. Stay tuned for more updates!

Like this Release?

Let us know with a thumbs up!

46
Launch r340

New Features

27 favourites
New Cryptography plugin

New Additions

8 favourites
Binary Data: add actions and triggers for data compression
7 favourites
Binary Data: add 'GetAllText' expression
9 favourites
New examples 'Compression', 'Encryption', 'Hashing'

Bug Fixes

6 favourites
Platform Info: RendererDetail expression not working with WebGPU
5 favourites
Tile movement: error creating object with behavior if no instances in project
6 favourites
Web adverts: sometimes triggered 'Cancelled' event instead of 'Failed to load'
6 favourites
Mobile adverts: 'Ready' events incorrectly triggered even when ad creation failed

Share Construct 3 Release r340 Now

  • 14 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • This is incredible!!

    Could I ask, would it be possible to add any one-way hashes, such as MD5, please? I ask, as my project has online play, and can allow players to play custom levels together, and I want to quickly verify that both players have the same data before the game begins. Perhaps this is doable with SHA, but I figured MD5 is shorter and quicker.

    Thank you so much for such a great addition!

      • [-] [+]
      • 4
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 4 points
      • (1 child)

      The Cryptography plugin does have one-way hashes - not MD5, but SHA-256, SHA-384 and SHA-512, all more modern replacements for MD5, but the same principle of a one-way hash.

  • Cryptography plugin very useful and the examples are also! Thank you!

  • Encryption is finally built-in, cool! I have some questions. What types of encryptions are supported, and how are secrets kept? I used the Forge JS plugin before, and dealing with secrets was hard (I was also inexperienced).

      • [-] [+]
      • 5
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 5 points
      • (1 child)

      Currently the Cryptography plugin uses password-based AES-GCM encryption. It's possible other alternative encryption algorithms could be added in future through.

      • Thanks. Regarding the 2nd half of my question about the secrets, when I was using AES-CBC in the Forge plugin, I had some trouble dealing with them safely. In your official release, are they in the Js code produced by the application? If so, can't rely on it too much for security? Can we "pair it up" with a standalone secret management service? I assume you thought about it, which is why I ask :)

  • Can't wait to check out the Cryptography plugin docs!

  • I waited ages for Cryptography, thanks! 🥰

  • Nice! 😁

  • Is the encryption to be used in hiding API keys and other sensitive information in our games? Or should we still be relying on remote functions for that

  • I don't understand how the 'File Chooser' works in the 'Hashing' example, what is its use? It doesn't seem to change anything?

      • [-] [+]
      • 3
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 3 points
      • (1 child)

      If you choose a file and then click the 'Hash' button, it produces a hash of the contents of the file.

      • I think it would be better for reading to add the complete here and show the Hash of the file. Because it feels a bit frustrating to be so close to that step and not show the result. Just copy the events from below:

        -> Cryptography: Hash BinaryData with algorithm SHA-256 (tag "")

        -> System: Wait for previous actions to complete

        -> ResultingHash: Set text to "Hash: " & newline & Cryptography.Hash