Registry / crypto / nettle

nettle

JSON →
library3.9.1vcpkgunverified

Nettle is a low-level cryptographic library designed for use in various contexts including crypto toolkits and applications.

vcpkg install nettle
INSTALL
IMPORT
SIG · NETTLE
N
nettle
cryptocppv3.9.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

nettle/aes.h
#include <nettle/aes.h>

Encrypt a block using AES

#include <nettle/aes.h> #include <nettle/memxor.h> #include <iostream> int main() { struct aes_ctx ctx; uint8_t key[16] = {0}; aes_set_encrypt_key(&ctx, 16, key); uint8_t plaintext[16] = {0}; uint8_t ciphertext[16]; aes_encrypt(&ctx, 16, ciphertext, plaintext); std::cout << "Encrypted block" << std::endl; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.9.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources

No resource links recorded.

nettle — pip install nettle · libregistry