Click here to Skip to main content
15,887,350 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm doing a small project where I need to use two ciphers. I wrote my own implementation of Salsa20, but as I do not have much time left, I need to use an implemented version of HC-256. I've found out that Bouncy Castle is a really good library for this. But I cannot figure out how to actually use it. I can't find any documentation for it, and any solution I find is for Java.

I need to be able to call a function and to send a key, IV and the byte stream and receive the encrypted stream of bytes using HC-256.

I also need my project to be as small as possible, so I don't want to include the whole library (Don't get me wrong, I will credit the Bouncy Castle organization). So

What I have tried:

What are the files that I need to include? I figured out Crypto>Engines>HC256Engine.cs
Posted
Updated 8-Mar-16 17:37pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900