ddata ~master (2021-10-20T04:00:52.2832534)
Dub
Repo
encrypt
ddata
crypto
encrypt
Encrypts a string using a key with the specified algorithm
@
safe
ubyte
[]
encrypt
(
const
string
data
,
const
string
key
,
Algorithm
algorithm
=
Algorithm.aes128
)
See Also
ddata.crypto.decrypt
Meta
Source
See Implementation
ddata
crypto
encrypt
functions
encrypt
Encrypts a string using a key with the specified algorithm