NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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

ConstBufferPtr ndn::crypto::computeSha256Digest (const uint8_t *data, size_t dataLength)
 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...