/
PasswordHasher
PasswordHasher
Die PasswordHasher konvertieren einen Wert aus einer UI-Komponente je nach Converter in einen bestimmten Hash-Wert. Diese Funktionalität kann bei einen PasswordField genutzt werden um zum Beispiel ein Passwort in die Datenbank als Hash-Wert zu schreiben.
Folgende Konverter stehen zur Verfügung.
Zu finden in dem Interface "com.rapidclipse.framework.security.util.PasswordHasher":
- MD5
- SHA1
- SHA2
- PBKDF2WithHmacSHA1
Anwendung:
PasswordField-Wert mit SHA2 hashen:
byte[] passwordBytes = passwordField.getValue().getBytes(); byte[] hashedPasswordBytes = PasswordHasher.Sha2().hashPassword(passwordBytes);
, multiple selections available,
Related content
PasswordHasher
PasswordHasher
More like this
XdevHashConverter
XdevHashConverter
More like this
XdevPasswordField
XdevPasswordField
More like this
Database as a Data Source for Authentication
Database as a Data Source for Authentication
More like this
Patchnotes Version 3.1
Patchnotes Version 3.1
More like this
LoginForm
LoginForm
More like this
XDEV Software Corp. - One Embarcadero Center, San Francisco, CA 94111, US
Copyright © 2015. XDEV Software Corp. All rights reserved.