- All Known Implementing Classes:
- PasswordConverter
- Enclosing interface:
- KeyGenerator
public static interface KeyGenerator.CharToByteConverter
An interface for converting a password of Java characters into an array
of bytes. This conversion must be performed to provide a byte array
to the low-level crypto engine. The default conversion is UTF8.
Null-termination is not necessary, and indeed is usually incorrect,
since the password is passed to the crypto engine as a byte array, not
a C string.