-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCipher.cpp
26 lines (22 loc) · 1.01 KB
/
Cipher.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include<botan/cipher_mode.h>
#include <botan/pubkey.h>
#include <botan/rsa.h>
#include<botan/rng.h>
/*void non_cipher(void)
{
Botan::Cipher_Mode::create("Blowfish/CBC/PKCS7", Botan::ENCRYPTION);
Botan::Cipher_Mode::create("DES/CBC/PKCS7", Botan::ENCRYPTION);
Botan::Cipher_Mode::create("3DES/CBC/PKCS7", Botan::ENCRYPTION);
Botan::Cipher_Mode::create("DESX/CBC/PKCS7", Botan::ENCRYPTION);
Botan::Cipher_Mode::create("CAST-128/CBC/PKCS7", Botan::ENCRYPTION);
Botan::Cipher_Mode::create("GOST-28147-89/CBC/PKCS7", Botan::ENCRYPTION);
Botan::Cipher_Mode::create("IDEA/CBC/PKCS7", Botan::ENCRYPTION);
Botan::Cipher_Mode::create("KASUMI/CBC/PKCS7", Botan::ENCRYPTION);
Botan::Cipher_Mode::create("MISTY1/CBC/PKCS7", Botan::ENCRYPTION);
Botan::Cipher_Mode::create("XTEA/CBC/PKCS7", Botan::ENCRYPTION);
Botan::Cipher_Mode::create("RC4", Botan::ENCRYPTION);
}*/
void valid_cipher(void)
{
Botan::Cipher_Mode::create("AES-256/GCM", Botan::ENCRYPTION);
}