libsodium | A modern , portable , easy to use crypto library | Cryptography library

 by   jedisct1 C Version: 1.0.18-RELEASE License: Non-SPDX

kandi X-RAY | libsodium Summary

kandi X-RAY | libsodium Summary

libsodium is a C library typically used in Security, Cryptography applications. libsodium has no bugs, it has no vulnerabilities and it has medium support. However libsodium has a Non-SPDX License. You can download it from GitHub.

A modern, portable, easy to use crypto library.

            kandi-support Support

              libsodium has a medium active ecosystem.
              It has 10984 star(s) with 1673 fork(s). There are 394 watchers for this library.
              It had no major release in the last 12 months.
              There are 0 open issues and 788 have been closed. On average issues are closed in 30 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of libsodium is 1.0.18-RELEASE

            kandi-Quality Quality

              libsodium has 0 bugs and 0 code smells.

            kandi-Security Security

              libsodium has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              libsodium code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              libsodium has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              libsodium releases are available to install and integrate.
              It has 598 lines of code, 11 functions and 15 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of libsodium
            Get all kandi verified functions for this library.

            libsodium Key Features

            No Key Features are available at this moment for libsodium.

            libsodium Examples and Code Snippets

            No Code Snippets are available at this moment for libsodium.

            Community Discussions


            What permission am I missing here?
            Asked 2022-Mar-28 at 10:56

            So I'm trying to setup a container for a project and I'm receiving an error during building. I'm very new with Docker. Can anyone help me understand this?

            Here's the error:



            Answered 2022-Mar-28 at 10:56

            I think you are running the Docker build on a specific path that need administrator permissions , to resolve that just copy your project to the Desktop for example and try again :



            Updating packages using pip-review doesn't work
            Asked 2022-Mar-16 at 14:19

            I tried to update all my packages using pip-review, which worked for me once, but now it doesn't work. When I write



            Answered 2021-Aug-17 at 09:36

            Uninstalling pip-review and re-installing it solved the problem.



            Cannot install erdpy on macOS - failed building wheel for pynacl
            Asked 2022-Mar-01 at 02:31

            I'm trying to install erdpy on a macOS by following the official guide, I successfully managed to download erdpy-up and when I run it, I receive the following error:



            Answered 2021-Oct-01 at 17:52

            Your error says you don't have the make utility installed.

            Install it by executing



            Do I need to downgrade my conda version in order to install a module?
            Asked 2022-Jan-18 at 22:43

            I install new modules via the following command in my miniconda



            Answered 2022-Jan-06 at 20:11

            Consider creating a separate environment, e.g.,



            Is NodeJS crypto dependent on the user's system?
            Asked 2022-Jan-15 at 06:29

            I'm looking for a complete JS crypto library: all SHAs, AEAD (chacha/poly, aes-gcm), all AESs, NIST and SECP P256 and ED25519 support, ECDSA, ECDH/E, etc.

            It looks like the nodeJS crypto module has full support of everything I need, but it says it is a wrapper around OpenSSL.

            Does this mean some functions may not work if a user does not have OpenSSL installed (or an outdated version)? I assume it does, but that is very unlike Node, so I want to be sure.

            If so, are there are any "complete" libraries out there? libsodium, sjcl, and crypto-js are insufficient (I could piece together a sol'n from multiple libs if necessary).



            Answered 2022-Jan-15 at 06:29

            Nodejs is statically linked to its own built-in version of OpenSSL. It does not rely on an external OpenSSL installation.

            There are multiple articles that reference how nodejs has to be updated in order to get the newer OpenSSL versions (because it links OpenSSL right into nodejs).

            Here are a couple of those articles:






            Discordjs 13 bot not playing local mp3 file
            Asked 2022-Jan-08 at 12:14

            I can't figure out why my bot is not playing music. This is my code.



            Answered 2022-Jan-06 at 18:49


            UnsatisfiableError on importing environment pywin32==300 (Requested package -> Available versions)
            Asked 2021-Dec-03 at 14:58

            Good day

            I am getting an error while importing my environment:



            Answered 2021-Dec-03 at 09:22

            Build tags in you environment.yml are quite strict requirements to satisfy and most often not needed. In your case, changing the yml file to



            ERROR: pyzmq has an invalid wheel, multiple .dist-info directories found: libsodium-1.0.17.dist-info, pyzmq-18.1.0.dist-info
            Asked 2021-Nov-14 at 21:31

            I have a problem cloning a project from GitHub. The error occurs when I try to install the requirements.txt file:

            ERROR: pyzmq has an invalid wheel, multiple .dist-info directories found: libsodium-1.0.17.dist-info, pyzmq-18.1.0.dist-info

            I tried the below options but nothing worked. Any idea how can I solve the problem?

            pip install --no-cache-dir -r requirements.txt

            pip install --no-binary=:all: pyzmq==18.1.0

            pip install wheel

            I also opened the requirements.txt file and removed this package, but other packages didn't install correctly!



            Answered 2021-Nov-14 at 21:31

            EDIT: Solution based on specific repo mentioned by OP:

            I was able to install the requirements.txt in this repo using the following steps. Tested on Windows 10 and Python 3.7.

            1. Download the scipy v1.3.1 wheel file from here. Only Python 3.5-3.7 are supported, so pick the right version (cp35-cp37). Also pick the right OS and 32/64-bits version.
            2. Run pip install scipy-1.3.1-cp37-cp37m-win_amd64.whl (for example) from the folder where the .whl file is.
            3. In requirements.txt: change tensorflow==2.0.0b0 to tensorflow==2.0.0
            4. In requirements.txt: change torch==1.3.0 to torch==1.9.0
            5. Run pip install -r requirements.txt

            Original Answer:

            I personally saw the pyzmq has an invalid wheel error while installing tensorflow==2.7.0 with tfx==1.3.3. According to the tfx repo, these versions are not compatible, and result in a dependency conflict. You might have two similar dependencies that are doing the same.

            I solved this in 3 ways:

            1. Specify compatible versions. In my case, switching to tensorflow==2.6.0 worked.
            2. Search for and remove redundant dependencies. In my case, tensorflow is already included with tfx. Removing it fixed the problem (actually there was another bug, but that's off-topic).
            3. Add a specific version of pyzmq to your requirements.txt to force the resolution. I used the latest version (pyzmq==22.3.0), which also fixed the issue.

            To help debug the problem, you can view the pip dependency tree using pipdeptree. See this answer.



            How to install bob python toolkit with docker?
            Asked 2021-Nov-04 at 13:53

            I'm trying to install bob.learn.em, but there is not any documented straightforward approach to install bob.

            There are some very old resources like these to install bob:



            But none of them can not install bob.learn.em or any latest bob packages.

            I am unsuccessful while trying both pip and conda, the official document ( doesn't work (at least for my system, I even tried conda in a docker container)

            Is there any docker container or reproducible recipe for installing bob and bob packages like bob.learn.em?

            errors inside anaconda3 container,



            Answered 2021-Oct-22 at 21:17

            Wrote this simple dockerfile.




            node_modules/@zerohouse/router-tab/zerohouse-router-tab.d.ts as it was neither declared nor imported! after upgrading angular 8 to angular 9
            Asked 2021-Oct-31 at 19:12

            Error Image




            Answered 2021-Oct-31 at 19:12

            @zerohouse/router-tab isn't compatible with angular 9, you have to install @cativo/router-tab to get it work.


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install libsodium

            You can download it from GitHub.


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone jedisct1/libsodium

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Cryptography Libraries


            by dogecoin


            by google


            by brix


            by Ciphey


            by jedisct1

            Try Top Libraries by jedisct1


            by jedisct1C


            by jedisct1Go


            by jedisct1C


            by jedisct1HTML


            by jedisct1C