Module crypt.api
Package io.github.astrapi69.crypt.api
package io.github.astrapi69.crypt.api
This package provides interfaces for the classes that can en- and decrypt data
-
InterfacesClassDescriptionInterface for decrypt
byte
objects.Interface for decryptbyte
objects.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>.The interfaceFileDecryptor
can decrypt aFile
object (that was previously encrypted) and return the decrypted result asFile
object.The interfaceFileEncryptor
can encrypt aFile
object and return the encrypted result asFile
object.The interfaceGenericObjectDecryptor
can decrypt an encryptedFile
object that was previously encrypted and return the decrypted result as generic objectThe interfaceGenericObjectEncryptor
can encrypt a generic object and return the encrypted result asFile
objectThe interfaceIntegerDecryptor
can decrypt aInteger
object (that was previously encrypted) and return the decrypted result asInteger
object.The interfaceIntegerEncryptor
can encrypt aInteger
object and return the encrypted result asInteger
object.The interfaceStringDecryptor
can decrypt aString
object (that was previously encrypted) and return the decrypted result asString
object.The interfaceStringEncryptor
can encrypt aString
object and return the encrypted result asString
object.