All Projects → FedericoCeratto → Nim Libsodium

FedericoCeratto / Nim Libsodium

Licence: mpl-2.0
Nim wrapper for the libsodium library

Programming Languages

nim
578 projects

Projects that are alternatives of or similar to Nim Libsodium

Pgsodium
Modern cryptography for PostgreSQL using libsodium.
Stars: ✭ 202 (+531.25%)
Mutual labels:  library, cryptography, libsodium
Libsodium Go
A complete overhaul of the Golang wrapper for libsodium
Stars: ✭ 105 (+228.13%)
Mutual labels:  library, cryptography, libsodium
Datasafe
Datasafe - flexible and secure data storage and document sharing using cryptographic message syntax for data encryption
Stars: ✭ 32 (+0%)
Mutual labels:  library, cryptography
Decentralized Internet
A SDK/library for decentralized web and distributing computing projects
Stars: ✭ 406 (+1168.75%)
Mutual labels:  library, cryptography
Libsodium Php
The PHP extension for libsodium.
Stars: ✭ 507 (+1484.38%)
Mutual labels:  cryptography, libsodium
Alertift
Swifty, modern UIAlertController wrapper.
Stars: ✭ 242 (+656.25%)
Mutual labels:  wrapper, library
Sapient
Secure API Toolkit
Stars: ✭ 308 (+862.5%)
Mutual labels:  cryptography, libsodium
Globjects
C++ library strictly wrapping OpenGL objects.
Stars: ✭ 431 (+1246.88%)
Mutual labels:  wrapper, library
Colore
A powerful C# library for Razer Chroma's SDK
Stars: ✭ 121 (+278.13%)
Mutual labels:  wrapper, library
Libsodium.js
libsodium compiled to Webassembly and pure JavaScript, with convenient wrappers.
Stars: ✭ 665 (+1978.13%)
Mutual labels:  cryptography, libsodium
Rando.js
The world's easiest, most powerful random function.
Stars: ✭ 659 (+1959.38%)
Mutual labels:  library, cryptography
Sodium compat
Pure PHP polyfill for ext/sodium
Stars: ✭ 736 (+2200%)
Mutual labels:  cryptography, libsodium
Ksprefs
🚀⚡ Kotlin SharedPreferences wrapper & cryptographic preferences android library.
Stars: ✭ 176 (+450%)
Mutual labels:  wrapper, library
Coinbasepro Csharp
The unofficial .NET/C# client library for the Coinbase Pro/GDAX API
Stars: ✭ 143 (+346.88%)
Mutual labels:  wrapper, library
Swift Sodium
Safe and easy to use crypto for iOS and macOS
Stars: ✭ 400 (+1150%)
Mutual labels:  cryptography, libsodium
Ahk Libs
AutoHotkey library archive.
Stars: ✭ 125 (+290.63%)
Mutual labels:  wrapper, library
Jsstore
A complete IndexedDB wrapper with SQL like syntax.
Stars: ✭ 430 (+1243.75%)
Mutual labels:  wrapper, library
Halite
High-level cryptography interface powered by libsodium
Stars: ✭ 933 (+2815.63%)
Mutual labels:  cryptography, libsodium
Passfml
Pascal binding for SFML
Stars: ✭ 45 (+40.63%)
Mutual labels:  wrapper, library
Discord.jl
The Julia Discord API Wrapper
Stars: ✭ 93 (+190.63%)
Mutual labels:  wrapper, library

nim-libsodium

Nim wrapper for the libsodium library

image:https://travis-ci.org/FedericoCeratto/nim-libsodium.svg?branch=master["Build Status", link="https://travis-ci.org/FedericoCeratto/nim-libsodium"] image:https://img.shields.io/badge/status-beta-orange.svg[badge] image:https://img.shields.io/github/tag/FedericoCeratto/nim-libsodium.svg[tags] image:https://img.shields.io/badge/License-MPL%20v2.0-blue.svg[License]

WARNING: This library is under development and has not been reviewed by 3rd parties

Features

  • Wrap libsodium and expose only memory-safe entities
  • Follow libsodium naming convention for most functions
  • Tested on Linux
  • Basic unit tests
  • No homemade crypto

Usage

Refer to the link:https://download.libsodium.org/doc/index.html[official libsodium documentation]

and the http://federicoceratto.github.io/nim-libsodium/0.4.1/theindex.html[module documentation]

[source,bash]

sudo apt-get install libsodium18 nimble install libsodium

[source,nim]

import libsodium.sodium import libsodium.sodium_sizes

let msg = "hello and goodbye" (pk, sk) = crypto_box_keypair() nonce = randombytes(crypto_box_NONCEBYTES()) ciphertext = crypto_box_easy(msg, nonce, pk, sk)


Contributing

Testing and PRs are welcome.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].