we-coffee logo
 
Skip Navigation LinksHome | Bonnie.NET | Demos | Symmetric Encryption Demo

Symmetric Encryption with Bonnie.NET

This web page shows how to use Bonnie.NET Standard Edition .NET cryptographic API for symmteric encryption of texts.

Try Bonnie.NET functionalities by following the next steps:

1. Generate a cryptograhic key

Choose a method for strong cryptographic key and initialization vector generation. You can insert a password or allow Bonnie.NET to generate a strong key and initialization vector. If you choose to insert a password, Bonnie.NET will use PKCS#5 (RFC2898) standard to generate a secure cryptographic key and the related initialization vector.

Generate with Bonnie.NET

2. Select a Symmetric Encryption Algorithm

Choose the symmetric encryption algortihm to use for encryption/decryption process.

3. Encrypt Text

Insert some lines of text in the following left box and then click encrypt. The encrypted text will appear on the box to the right.

Text to Encrypt
Encrypted Text

4. Decrypt Text

To decrypt the previosu encrypted text, click decrypt. The decrypted text will appear on the box below.

Decrypted Text

Bonnie.NET can perform, in the same easy way, symmetric encryption of bytes arrays and streams (for example files) too. For more details, download Bonnie.NET Standard Edition and try the examples contained on the setup.

 
up up