Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.59 KB

File metadata and controls

52 lines (41 loc) · 1.59 KB
title C++ Symmetric String Encryption/Decryption with a Block Cipher using Botan
keywords sample
summary Symmetric string encryption/decryption with a block cipher in C++ using Botan
permalink c++_cryptography_symmetric_block_cipher.html
folder C++ Cryptography
references
url description
Cryptography Symmetric Encryption/Decryption Documentation
authors
name
Jakob Benz
current_reviews
last_updated 2018-10-01
tags
C++
Botan
AES
Symmetric
Key
Block Cipher
AES-256

Use cases

  • Random key generation
  • Key-based block cipher string encryption/decryption

Installation

Install Botan:

Supported C++ versions

  • C++17 (C++1z) (ISO/IEC 14882:2017)

Example Code for symmetric block cipher string encryption/decryption with C++ using Botan

{% include_relative src/cryptoexamples/symmetric_block_cipher.cpp %}

{% include links.html %}