PasswordConverter
public static interface KeyGenerator.CharToByteConverter
Modifier and Type | Method | Description |
---|---|---|
byte[] |
convert(char[] chars) |
Converts a password of Java characters into a password of
bytes, using some encoding scheme.
|
byte[] convert(char[] chars) throws java.io.CharConversionException
chars
- Password characters.java.io.CharConversionException
- If an error occurred.