Module crypt.api.main
Package io.github.astrapi69.crypto.api
This package provides interfaces for the classes that can en- and decrypt data.
-
Interface Summary Interface Description ByteArrayDecryptor Interface for decryptbyte
objects.ByteArrayEncryptor Interface for decryptbyte
objects.Cryptor The interfaceCryptor
holds the operation mode.Decryptor<T,R> The generic functional interfaceDecryptor
can decrypt an object of type <T> (that was previously encrypted) and return the decrypted result as object of type <R>.Encryptor<T,R> The generic functional interfaceEncryptor
can encrypt an object of type <T> and return the encrypted result as object of type <R>.FileDecryptor The interfaceFileDecryptor
can decrypt aFile
object (that was previously encrypted) and return the decrypted result asFile
object.FileEncryptor The interfaceFileEncryptor
can encrypt aFile
object and return the encrypted result asFile
object.GenericObjectDecryptor<R> The interfaceGenericObjectDecryptor
can decrypt an encryptedFile
object that was previously encrypted and return the decrypted result as generic objectGenericObjectEncryptor<T> The interfaceGenericObjectEncryptor
can encrypt a generic object and return the encrypted result asFile
objectIntegerDecryptor The interfaceIntegerDecryptor
can decrypt aInteger
object (that was previously encrypted) and return the decrypted result asInteger
object.IntegerEncryptor The interfaceIntegerEncryptor
can encrypt aInteger
object and return the encrypted result asInteger
object.StringDecryptor The interfaceStringDecryptor
can decrypt aString
object (that was previously encrypted) and return the decrypted result asString
object.StringEncryptor The interfaceStringEncryptor
can encrypt aString
object and return the encrypted result asString
object.