remove to_bin && replaced by built-in methods .decode('hex')