<div dir="ltr"><div>Hello,</div><div><br></div><div>I am trying to encrypt name and data using;<br></div><div><font size="2"> <i>security::transform::bufferSource ( )</i></font></div><div>as shown in:<br></div><div>
<span class="gmail-_5yl5"><span><a target="_blank" href="https://github.com/named-data/ndn-cxx/blob/2c1d349bdb9a1f7b2a0b07ea11e6f24650bde6cd/tests/unit/security/transform/block-cipher.t.cpp?fbclid=IwAR0-VKVoVoTMVLNl9SO6JynDmz3l_-7OJMTqCa_9DqFbER-qMJE3dw3J0j8" rel="nofollow noopener">https://github.com/named-data/ndn-cxx/blob/2c1d349bdb9a1f7b2a0b07ea11e6f24650bde6cd/tests/unit/security/transform/block-cipher.t.cpp</a></span></span> <br></div><div><br></div><div>So, I have two questions.</div><div>1) How can I pass name to AES_CBC which only accepts array?</div><div>2) When I am trying to test AES_CBC decryption, NDN throw;</div><div> <i>Error: Error in module 1: Failed to flush</i></div><div>How should I fix that error?</div><div><br></div><div>Best Regards.</div><div>Htet<br></div><div><i></i></div></div>