An easy to use cryptography plugin for Unreal Engine 4 based on libsodium.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Resources initial commit May 3, 2016
Source SanityCheck for Encrypt/Decrypt Jul 22, 2017
.gitattributes initial commit May 3, 2016
.gitignore initial commit May 3, 2016
.gitmodules specifying stable Mar 27, 2017
LICENSE Create LICENSE May 2, 2016 update readme Jun 25, 2018
SodiumUE4.uplugin updated with doc links Mar 27, 2017

About SodiumUE4

An easy to use public and private cryptography plugin for Unreal Engine 4 based on libsodium.

It currently works only on Win64 builds of UE4. Eventually Mac and Android is planned. The plugin is very simple (due to portable nature of libsodium), so it works on most versions of UE4.

Last tested on: 4.19.2


  1. git clone --recursive this repo to your UnrealProject/Plugins/ folder.
  2. Compile Source\ThirdParty\libsodium\libsodium.sln first, this will generate the sodium library. Use x64 and Release options as target.
  3. Regenerate code for your UE4 project (right click YourGame.uproject to do it)
  4. Add "SodiumUE4" to YourGame.Build.cs in PublicDependencyModuleNames
  5. Open and Build your game in Visual Studio.
  6. Start editor as usual, allow it to compile SodiumUE4, this should only happen once.
  7. Build/Package your game as you normally would.


libsodium license:


Public encryption