Klasse CryptoAlgorithm
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 TypMethodeBeschreibungname()
Gets the name of this algorithmstatic io.github.astrapi69.crypt.api.algorithm.Algorithm
newAlgorithm
(@NonNull String algorithm) Factory method for creating a newAlgorithm
from the given string algorithmVon 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 newAlgorithm
from the given string algorithm- Parameter:
algorithm
- the algorithm- Gibt zurück:
- the new
Algorithm
-
name
Gets the name of this algorithm- Gibt zurück:
- the name of this algorithm
-