KotPreferences
Toggle table of contents
android
Target filter
android
Switch theme
Search in API
Skip to content
KotPreferences
encryption-aes
/
com.michaelflisar.kotpreferences.encryption.aes
/
StorageEncryptionAES
Storage
Encryption
AES
class
StorageEncryptionAES
(
algorithm
:
String
,
key
:
SecretKey
,
iv
:
IvParameterSpec
)
:
StorageEncryption
Members
Constructors
Storage
Encryption
AES
Link copied to clipboard
constructor
(
algorithm
:
String
,
key
:
SecretKey
,
iv
:
IvParameterSpec
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
decrypt
Link copied to clipboard
open
override
fun
<
T
>
decrypt
(
data
:
String
,
type
:
StorageDataType.NotNullable
)
:
T
encrypt
Link copied to clipboard
open
override
fun
<
T
>
encrypt
(
value
:
T
,
type
:
StorageDataType.NotNullable
)
:
String