EncryptionManager

Manages encryption algorithms.

Functions

Link copied to clipboard
@NotNull
abstract fun create(@NotNull name: @NotNull String, data: Array<Byte>): @NotNull Encryption
Creates a new encryption instance using the specified encryption algorithm and provided key data.
Link copied to clipboard
Gets a collection of registered encryption algorithms.
Link copied to clipboard
abstract fun register(@NotNull supplier: @NotNull EncryptionSupplier)
Registers an encryption algorithm.
Link copied to clipboard
abstract fun unregister(@NotNull name: @NotNull String): Boolean
Unregisters an encryption algorithm by its name.
abstract fun unregister(@NotNull supplier: @NotNull EncryptionSupplier): Boolean
Unregisters an encryption algorithm supplier.