# Extension Crypt

**URL:** <https://forum.defold.com/t/extension-crypt/83637>\
**Category:** The Defoldmine\
**Created:** [December 3, 2026, 10:18am UTC](https://forum.defold.com/t/extension-crypt/83637 "2026-12-03T10:18:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pawel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pawel/32/24623_2.png) [@Pawel](https://forum.defold.com/u/Pawel)\
**Post date:** [December 3, 2026, 10:18am UTC](https://forum.defold.com/t/extension-crypt/83637/1 "2026-12-03T10:18:16Z")

</div>

Hi!

We’re happy to share the official **Crypt extension** for Defold that provides a simple Lua API for cryptographic operations and data encoding, wrapping the `dmCrypt` API from the Defold SDK.

[![defold_crypt](https://forum-defold-uploads.b-cdn.net/original/3X/6/8/68f55111057e7a2622659ab56367ea4f09b283c2.png)](https://defold.com/assets/crypt/)

### Features

- Hashing: SHA-1, SHA-256, SHA-512 and MD5
- Encoding and decoding Base64
- Encryption and decryption XTEA

The extension can be useful e.g. for verifying data integrity, encoding binary data for transmission, integrating with external APIs or making locally stored game data less easily readable.

### Supported platforms

- Windows, macOS and Linux
- Android and iOS
- HTML5

MIT license.

Now in the Asset Portal:

> **[Crypt | Defold](https://defold.com/assets/crypt/)**
>
> Official Defold native extension for cryptographic and data encoding functions. Calculate SHA-1, SHA-256, SHA-512 and MD5 hashes, encode or decode Base64, and encrypt ...

Documentation:

> **[Defold Crypt documentation](https://defold.com/extension-crypt/)**
>
> This manual covers how to use various hashing and encoding algorithms in Defold.

Repository:

> **[GitHub - defold/extension-crypt: Native extension binding the dmCrypt Defold C++...](https://github.com/defold/extension-crypt)**
>
> Native extension binding the dmCrypt Defold C++ SDK to Lua
