public final class PasswordConverter extends java.lang.Object implements KeyGenerator.CharToByteConverter
Constructor and Description |
---|
PasswordConverter() |
Modifier and Type | Method and 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