kipher-symmetric
0.1.2
jvm
kipher-symmetric
/
io.github.jhdcruz.kipher.symmetric
/
AEAD
/
decryptBare
decrypt
Bare
@
JvmOverloads
fun
decryptBare
(
@
NotNull
encrypted
:
ByteArray
,
@
NotNull
iv
:
ByteArray
,
@
NotNull
key
:
ByteArray
,
@
NotNull
tag
:
ByteArray
=
byteArrayOf()
)
:
ByteArray
Decrypts
encrypted
data with optional
tag
verification using
key
nad
iv
.
Return
Decrypted data