Project_DJ_Engine
Documentation:
Getting Started
API Reference
Editor_Format
Project_DJ_Engine
Class AEAD
View page source
Class AEAD
Defined in
File PDJE_Crypto.hpp
Class Documentation
class
AEAD
Public Functions
std
::
string
Encrypt
(
std
::
string
&
noncestr
,
const
std
::
string
&
plaintxt
)
std
::
string
Decrypt
(
const
std
::
string
&
nonce
,
const
std
::
string
&
hexenc
)
std
::
string
EncryptAndPack
(
const
std
::
string
&
plaintxt
)
std
::
string
UnpackAndDecrypt
(
const
std
::
string
&
aead_json
)
AEAD
(
PSK
&
key
,
const
std
::
string
&
algo
=
"AES-256/GCM"
)
~AEAD
(
)
=
default