Donate here if this asset helped you with a project

AES for gamemaker is a free, open source asset that anyone can use!

It is currently ~45% commented. If you have any enquiries, don't hesitate to send me an email.

Please leave a rating with information about how it helps you or if there is something missing, I would greatly appreciate it!

The next update will hopefully have more commented code and speed improvements.

This asset supports:

  • ECB and CBC mode support
  • 128, 192 and 256 mode support
  • Full hex, string and base64 interchangeable formatting
  • File encrypting/decrypting*
  • Initialization vectors
  • Data padding support

*Gamemaker studio is sandboxed, this will only encrypt/decrypt files in working_directory.

Since gamemaker wasn't designed to handle data super fast, any aes function will be incredibly slow. For example, 100 array values takes roughly 8 seconds to encrypt or decrypt. (Array, string and file times are all different).

The GM8 port has been discontinued.

All code is provided as is. You may alter any code and use it commercially. You must not claim it as your own, credit is required.

End User Licence Agreement (EULA).

Changes in 1.7.1

  • Changed all ds_grid values to array values (very slightly improved speed)
  • Spelling mistakes fixed
  • Array functionality
  • Array saving and loading to file
  • All data is now automatically padded, with 0% data loss (if used correctly)
  • All data has cbc support
  • Full hex, string and base64 interchangeable formatting
  • Read me file added with valuable tips

Version 1.7.1. Published October 15, 2017

Created with GameMaker: Studio v1.4.1772

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.


Märten R 06 June 2017

Nice asset

Useful extension that works well.

Downside is that due to its low speed it is not suitable for real-time data processing, for example exchanging encrypted data over network.

Few ideas for future:
* Encryption of strings of any length in CBC mode with automatic padding.
* Encryption of buffers.

This review was left for a previous version of this asset.


Lintydude (Publisher) 20 October 2017

Thank you for reviewing my extension! The new update brings CBC support for strings of any length (with automatic padding) and, you can encrypt buffers if you save them in a file with buffer_save(), then use aes_file(). As for the speed, I should be able to greatly improve that in a future update.

Package contents

Loading, please wait

What is the issue?

Back to Top