NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
crypto.hpp File Reference
#include "../common.hpp"
#include "../encoding/buffer.hpp"
Include dependency graph for crypto.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::crypto
 

Functions

void ndn::ndn_digestSha256 (const uint8_t *data, size_t dataLength, uint8_t *digest)
 Compute the sha-256 digest of data. More...
 
ConstBufferPtr ndn::crypto::sha256 (const uint8_t *data, size_t dataLength)
 Compute the sha-256 digest of data. More...
 

Variables

static const size_t ndn::crypto::SHA256_DIGEST_SIZE = 32
 number of octets in a SHA256 digest More...