java.lang.Object
io.github.astrapi69.crypt.data.algorithm.CryptoAlgorithm
Alle implementierten Schnittstellen:
io.github.astrapi69.crypt.api.algorithm.Algorithm

public class CryptoAlgorithm extends Object implements io.github.astrapi69.crypt.api.algorithm.Algorithm
The class CryptoAlgorithm provides factory method for create an algorithm from string for encryption or decryption.
  • Feldübersicht

    Von Schnittstelle geerbte Felder io.github.astrapi69.crypt.api.algorithm.Algorithm

    UNKNOWN_ALGORITHM_NAME
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Gets the name of this algorithm
    static io.github.astrapi69.crypt.api.algorithm.Algorithm
    newAlgorithm(@NonNull String algorithm)
    Factory method for creating a new Algorithm from the given string algorithm

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden io.github.astrapi69.crypt.api.algorithm.Algorithm

    getAlgorithm
  • Methodendetails

    • newAlgorithm

      public static io.github.astrapi69.crypt.api.algorithm.Algorithm newAlgorithm(@NonNull @NonNull String algorithm)
      Factory method for creating a new Algorithm from the given string algorithm
      Parameter:
      algorithm - the algorithm
      Gibt zurück:
      the new Algorithm
    • name

      public String name()
      Gets the name of this algorithm
      Gibt zurück:
      the name of this algorithm