A simple CharsetCodec.
Implementation of OpenSSL's own KDF.