(s)
return binascii.hexlify(s).upper()
Encode a string using Base16.

    s is the string to encode.  The encoded string is returned.
Encode a string using Base16.
Encode a string using Base16 .
def b16encode(s):
    """Encode a string using Base16.

    s is the string to encode.  The encoded string is returned.
    """
    return binascii.hexlify(s).upper()
def b16encode ( s ) : return binascii . hexlify ( s ) . upper ( )