what is wrong with my ripemd160 python code?

前端 未结 2 1379
耶瑟儿~
耶瑟儿~ 2020-12-22 01:15

everything i have tried has given me wrong output values. i even copied C codes and changed them so that they would work in python and i still get wrong outputs. what is wro

2条回答
  •  醉酒成梦
    2020-12-22 02:09

    >>> import hashlib
    >>> data = ''
    >>> hashlib.new('ripemd160', data).hexdigest()
    '9c1185a5c5e9fc54612808977ee8f548b2258d31'
    

提交回复
热议问题