def pbkdf2_hex(data, salt, iterations=1000, keylen=24, hashfunc=None):
 return pbkdf2_bin(data, salt, iterations, keylen, hashfunc).encode('hex')

def pbkdf2_hex ( data , salt , iterations = 1000 , keylen = 24 , hashfunc = None ) : return pbkdf2_bin ( data , salt , iterations , keylen , hashfunc ) . encode ( 'hex' )
like :func:pbkdf2_bin .