You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sodium is a PowerShell module for handling libsodium-based encryption and decryption.
3
+
Sodium is a PowerShell module that provides direct bindings to the [`libsodium`](https://github.com/jedisct1/libsodium)
4
+
cryptographic library, enabling libsodium-based encryption and decryption directly from PowerShell.
5
+
6
+
This module was initially created to serve the needs of the [GitHub PowerShell module](https://github.com/PSModule/GitHub).
7
+
GitHub's method for creating or updating
8
+
[secrets via the REST API](https://docs.github.com/en/rest/guides/encrypting-secrets-for-the-rest-api?apiVersion=2022-11-28#example-encrypting-a-secret-using-c)
9
+
requires that secrets be encrypted using libsodium.
10
+
11
+
## Prerequisites
12
+
13
+
This module relies on the following:
14
+
15
+
- The [libsodium](https://github.com/jedisct1/libsodium) library for cryptographic operations.
16
+
- Cross-platform PowerShell 7.6 or later.
17
+
18
+
On Windows, the module also requires the Microsoft Visual C++ Redistributable for Visual Studio 2015 or later.
0 commit comments