# C# Encryption Libraries

> AI-ranked search results for `best c sharp encryption libraries` on awesome-repositories.com — ordered by an LLM for relevance, best match first. 116 total matches; showing the top 13.

Explore on the web: https://awesome-repositories.com/q/best-c-sharp-encryption-libraries

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [this search on awesome-repositories.com](https://awesome-repositories.com/q/best-c-sharp-encryption-libraries).**

## Results

- [google/end-to-end](https://awesome-repositories.com/repository/google-end-to-end.md) (4,123 ⭐) — This project is an OpenPGP cryptography library designed for encrypting, decrypting, and signing messages according to the OpenPGP standard for secure communication. It functions as an asymmetric encryption toolkit for securing data and managing digital identities through cryptographic operations.

The library provides a cryptographic key manager to create and handle the public and private key pairs required for identity operations. It includes a digital signature implementation to ensure message authenticity and data integrity.

The system covers a broad range of capabilities, including asymm
- [travist/jsencrypt](https://awesome-repositories.com/repository/travist-jsencrypt.md) (6,799 ⭐) — jsencrypt is a JavaScript library for performing RSA encryption, decryption, and key generation. It functions as an asymmetric key generator and digital signature provider that executes all cryptographic processing directly in the browser.

The library focuses on the use of the PEM standard for importing, exporting, and managing cryptographic keys. It provides the ability to create public and private RSA key pairs of various bit sizes and supports OpenSSL compatible formats.

Its capabilities cover the transformation of plaintext into ciphertext and the recovery of original messages using corr
- [kokke/tiny-aes128-c](https://awesome-repositories.com/repository/kokke-tiny-aes128-c.md) (4,968 ⭐) — This is a symmetric cryptography library written in C that provides a portable implementation of the Advanced Encryption Standard. It functions as a block cipher implementation supporting 128, 192, and 256 bit key sizes for encrypting and decrypting data.

The library includes an AES cipher mode provider that supports electronic codebook, cipher block chaining, and counter modes. These operational modes are decoupled from the core block transformation to allow for different encryption patterns.

The implementation utilizes static memory allocation and table-based substitution to avoid dynamic
- [weidai11/cryptopp](https://awesome-repositories.com/repository/weidai11-cryptopp.md) (5,412 ⭐) — Crypto++ is a comprehensive C++ cryptographic library that implements a broad range of algorithms for symmetric and asymmetric encryption, hashing, and digital signatures. It is designed as a portable toolkit, usable across different operating systems without modification.

The library distinguishes itself through its architecture: cryptographic parameters such as key size and mode are configured at compile time via C++ templates, eliminating runtime overhead. Algorithms are registered in a static factory for runtime lookup, while data processing follows a pipeline model of composable sources,
- [kokke/tiny-aes-c](https://awesome-repositories.com/repository/kokke-tiny-aes-c.md) (4,863 ⭐) — tiny-AES-c is a lightweight C language cryptography library that provides a symmetric cipher implementation of the Advanced Encryption Standard. It functions as a portable set of functions for encrypting and decrypting data using a shared secret key.

The library is designed for embedded system security, enabling cryptographic operations on hardware with limited memory and processing power. It provides these capabilities without relying on large external dependencies.

The implementation utilizes a standard C library approach, employing table-based substitution and in-place buffer mutation to
- [dalek-cryptography/curve25519-dalek](https://awesome-repositories.com/repository/dalek-cryptography-curve25519-dalek.md) (1,173 ⭐) — This library provides a collection of low-level mathematical primitives for Curve25519 and Ristretto group operations. It serves as a foundation for building secure cryptographic protocols, offering tools for elliptic curve arithmetic, key exchange, and digital signature generation.

The implementation prioritizes side-channel resistance by utilizing constant-time arithmetic logic across all operations, ensuring that secret-dependent timing variations are prevented. It leverages the Rust type system to enforce state validity, making illegal group elements unrepresentable at compile time. To ma
- [p-h-c/phc-winner-argon2](https://awesome-repositories.com/repository/p-h-c-phc-winner-argon2.md) (5,309 ⭐) — This is a cryptographic implementation of the Argon2 memory-hard function, serving as a password hashing library and key derivation function. It transforms passwords and salts into secure hashes and generates cryptographic keys designed to resist high-speed hardware cracking attacks.

The library utilizes a memory-hard design that requires significant RAM to prevent acceleration via GPUs or ASICs. It incorporates data-independent memory access to block side-channel timing attacks and supports the integration of secret keys or peppers to protect against brute-force attacks on compromised salts.
- [jedisct1/libsodium](https://awesome-repositories.com/repository/jedisct1-libsodium.md) (13,467 ⭐) — Libsodium is a portable, C-based cryptographic library that provides a collection of modern primitives for encryption, decryption, digital signatures, password hashing, and secure key exchange. It is designed to facilitate secure communication and data integrity across diverse hardware architectures and operating systems.

The library distinguishes itself by utilizing constant-time primitive execution to prevent side-channel attacks and employing memory-hard algorithms to increase the difficulty of brute-force password attacks. It abstracts complex mathematical operations into simplified inter
- [blake3-team/blake3](https://awesome-repositories.com/repository/blake3-team-blake3.md) (6,284 ⭐) — BLAKE3 is a high-performance implementation of the BLAKE3 cryptographic hash algorithm used for calculating secure data digests and fingerprints. It functions as a parallel cryptographic hash tool that distributes workloads across multiple processor threads to process large datasets rapidly.

The project provides specialized tools for keyed hashing and the generation of message authentication codes. It also includes functionality for cryptographic key derivation, allowing the creation of unique secret sub-keys from a master key and context strings.

The implementation supports data integrity v
- [agwa/git-crypt](https://awesome-repositories.com/repository/agwa-git-crypt.md) (9,746 ⭐) — git-crypt is a transparent cryptography layer and secret manager for Git repositories. It encrypts specific files so they remain as ciphertext on remote servers while appearing as plaintext in local directories.

The tool uses Git attributes to define the scope of files and directories targeted for encryption. It supports both symmetric secret key encryption for shared access and asymmetric public key encryption to control decryption permissions among multiple collaborators.

The system automates the encryption and decryption process through hook-based filters that trigger during commit and ch
- [guanzhi/gmssl](https://awesome-repositories.com/repository/guanzhi-gmssl.md) (6,075 ⭐) — GmSSL is an open-source cryptographic library that implements the Chinese national cryptographic standards SM2, SM3, SM4, SM9, and ZUC as a unified algorithm suite. It provides a comprehensive set of cryptographic primitives including symmetric and asymmetric encryption, digital signatures, hashing, and key exchange, all built around these national standards for government and enterprise security applications.

The library distinguishes itself through several integration capabilities. It includes an OpenSSL compatibility layer that maps GmSSL functions to OpenSSL API calls, enabling drop-in re
- [signalapp/signal-desktop](https://awesome-repositories.com/repository/signalapp-signal-desktop.md) (16,376 ⭐) — Signal-Desktop is a cross-platform messaging application that provides end-to-end encrypted communication. It implements the Signal Protocol to secure messages and voice calls, ensuring that only intended recipients can access content. The application manages asynchronous key exchange and session initialization to maintain secure communication channels between parties who are not online simultaneously.

The project distinguishes itself through advanced cryptographic protections, including hybrid post-quantum security that combines classical elliptic curve cryptography with lattice-based algori
- [keepassxreboot/keepassxc](https://awesome-repositories.com/repository/keepassxreboot-keepassxc.md) (27,675 ⭐) — This project is a cross-platform credential management suite designed to store sensitive information in encrypted local databases. It functions as a secure desktop application that provides a unified environment for organizing secrets, generating passwords, and managing multi-factor authentication tokens. By utilizing industry-standard file formats, the application ensures that stored credentials remain secure and interoperable across different operating systems.

The software distinguishes itself through deep integration with hardware-backed security and system-level services. It supports phy
