Change Interest.nonce to a Blob.
diff --git a/ndn-cpp/interest.cpp b/ndn-cpp/interest.cpp
index 35ed7ad..453dba3 100644
--- a/ndn-cpp/interest.cpp
+++ b/ndn-cpp/interest.cpp
@@ -68,7 +68,7 @@
   answerOriginKind_ = interestStruct.answerOriginKind;
   scope_ = interestStruct.scope;
   interestLifetimeMilliseconds_ = interestStruct.interestLifetimeMilliseconds;
-  setVector(nonce_, interestStruct.nonce, interestStruct.nonceLength);
+  nonce_ = Blob(interestStruct.nonce, interestStruct.nonceLength);
 }
 
 void Interest::get(struct ndn_Interest& interestStruct) const 
@@ -85,7 +85,7 @@
 
   interestStruct.nonceLength = nonce_.size();
   if (nonce_.size() > 0)
-    interestStruct.nonce = (unsigned char *)&nonce_[0];
+    interestStruct.nonce = (unsigned char *)nonce_.buf();
   else
     interestStruct.nonce = 0;
 }