KeyGenerator.CharToByteConverter
public final class PasswordConverter extends java.lang.Object implements KeyGenerator.CharToByteConverter
Constructor | Description |
---|---|
PasswordConverter() |
Modifier and Type | Method | Description |
---|---|---|
byte[] |
convert(char[] chars) |
Converts a password of Java characters into a password of
bytes, using some encoding scheme.
|
public byte[] convert(char[] chars)
KeyGenerator.CharToByteConverter
convert
in interface KeyGenerator.CharToByteConverter
chars
- Password characters.