public class AuthentificationHmacMD5 extends AuthentificationProcess
name
Constructor and Description |
---|
AuthentificationHmacMD5()
Erzeugt ein neues Objekt.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
encrypt(String password,
String text)
Verschlüsselt den Text mit Hilfe des Passworts.
|
getName
public AuthentificationHmacMD5()
public final byte[] encrypt(String password, String text)
AuthentificationProcess
encrypt
in class AuthentificationProcess
password
- das Passworttext
- den zu verschlüsselnden Textnull
, wenn der Text nicht verschlüsselt werden konnte.