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
byteobjects.Interface for decryptbyteobjects.The interfaceCryptorholds the operation mode.Decryptor<T,R> The generic functional interfaceDecryptorcan 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 interfaceEncryptorcan encrypt an object of type <T> and return the encrypted result as object of type <R>.The interfaceFileDecryptorcan decrypt aFileobject (that was previously encrypted) and return the decrypted result asFileobject.The interfaceFileEncryptorcan encrypt aFileobject and return the encrypted result asFileobject.The interfaceGenericObjectDecryptorcan decrypt an encryptedFileobject that was previously encrypted and return the decrypted result as generic objectThe interfaceGenericObjectEncryptorcan encrypt a generic object and return the encrypted result asFileobjectThe interfaceIntegerDecryptorcan decrypt aIntegerobject (that was previously encrypted) and return the decrypted result asIntegerobject.The interfaceIntegerEncryptorcan encrypt aIntegerobject and return the encrypted result asIntegerobject.The interfaceStringDecryptorcan decrypt aStringobject (that was previously encrypted) and return the decrypted result asStringobject.The interfaceStringEncryptorcan encrypt aStringobject and return the encrypted result asStringobject.