In Progress

Bouncy castle wrapper

Need to create class wrappers around the encryption types of BouncyCastle [url removed, login to view] For example, need AES, Rinjdael etc AES=AESFastEngineBlowfishEngine RijndaelEngine, SerpentEngine RC4Engine Salsa20Engine ChaChaEngine Create new classes that include initialisation with ParametersAndIV (where appropriate), as well as initialisation given with byte[] for Parameters/IV. Any block encryption Encryption MUST use CBC block chaining, eg: Cipher cipher = [url removed, login to view]("AES/CBC/PKCS5Padding", bouncyProvider); [url removed, login to view](Cipher.ENCRYPT_MODE, secretKeySpec, ivParameterSpec); return [url removed, login to view](inputData); Interface to base your classes on: public abstract class EncryptionSystem { public abstract byte[] encrypt(byte[] inputData); public abstract byte[] encrypt(InputStream inputData); public abstract byte[] decrypt(byte[] inputData); public abstract byte[] decrypt(InputStream inputData); public abstract String algorithm(); //algorithm should give the encryption name } e.g. public class AESEncryption implements EncryptionSystem { public AESEncryption( ParametersWithIV initialisation); public AESEncryption( byte[] key, byte[] iv); //etc } Also require a factory class that will create the above objects public class EncryptionFactory() { EncryptionSystem create( String name, byte[] key, byte[] iv) throws Exception; } -- Please write up a small amount of test code for each of your classes that makes sure that what goes in each encryptor comes successfully out when decryption is run.

Skills: Algorithm, Matlab and Mathematica, Research Writing, SQL, Wireless

See more: www academic writing org, writing classes, writing block, what is encryption algorithm, types of algorithm, string algorithm, castle a, block writing, base exception, algorithm of encryption, algorithm for encryption, abstract writing example, visa credit card data base interface, inflatable castle bouncy, data base interface design, bouncy castle wrapper class asp net, bouncy castle sign wrapper, bouncy castle encrypt, bouncy castle encrypt string, bouncy castle wrapper, encrypt string bouncy castle, bouncy castle template

About the Employer:
( 34 reviews ) Loughton, United Kingdom

Project ID: #8341246

Awarded to:


Hired by the Employer

$20 USD in 1 day
(2 Reviews)