[Ndn-interest] Using AES Block Cipher

Htet Htet Hlaing htethtethlaing1726 at gmail.com
Thu Mar 14 00:42:55 PDT 2019


Hello,

I am trying to encrypt name and data using;
 *security::transform::bufferSource ( )*
as shown in:
https://github.com/named-data/ndn-cxx/blob/2c1d349bdb9a1f7b2a0b07ea11e6f24650bde6cd/tests/unit/security/transform/block-cipher.t.cpp
<https://github.com/named-data/ndn-cxx/blob/2c1d349bdb9a1f7b2a0b07ea11e6f24650bde6cd/tests/unit/security/transform/block-cipher.t.cpp?fbclid=IwAR0-VKVoVoTMVLNl9SO6JynDmz3l_-7OJMTqCa_9DqFbER-qMJE3dw3J0j8>

So, I have two questions.
1) How can I pass name to AES_CBC which only accepts array?
2) When I am trying to test AES_CBC decryption, NDN throw;
 *Error: Error in module 1: Failed to flush*
How should I fix that error?

Best Regards.
Htet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20190314/97aa4600/attachment.html>


More information about the Ndn-interest mailing list