Questions tagged [ripemd]

23 questions
1
vote
1 answer

RIPEMD160 hash in Matlab

I'm trying to calculate the RIPEMD160 hash in matlab for some data represented by a hex string. I found the following java class and compiled it for jvm 1.6 http://developer.nokia.com/Community/Wiki/RIPEMD160_encryption_in_JavaME the following code…
0
votes
2 answers

hex representation issue

If I want the following result : RIPEMD-160("The quick brown fox jumps over the lazy dog") = 37f332f68db77bd9d7edd4969571ad671cf9dd3b I tried this : string hash11 =…
Anyname Donotcare
  • 11,113
  • 66
  • 219
  • 392
0
votes
0 answers

How to properly implement key derivation in bip32, bip44, etc.?

How to properly implement key derivation in bip32, bip44, etc.? I get it right to generate the parent extended key, but then I can’t get the correct keys, they do not match the "Test Vectors" specified in the specification. xprv = "0488ade4" …
0
votes
0 answers

TypeError: int() can't convert non-string with explicit base

Hi I am making a simple program using python2.7 in which the first input is hex (32bytes) that will be hashed and increment by 1. The new value will be hashed again and increment again. The process will repeat until it satisfy the specified…
Quin Noaj
  • 65
  • 1
  • 10
0
votes
1 answer

PKHash RipeMD160 in python

I am trying to understand how the crypto algorithms RIPEMD and SHA256 work. The bitcoin method for computing PKHash is RIPEMD160(SHA256(PublicKey)). I am trying to first implement the RIPEMD of…
rrayas
  • 43
  • 8
0
votes
1 answer

Python ripemd160 error

I'm trying to use the inbuilt ripemd160 and md4 provided by Openssl to generate hash. This is my code import hashlib c = input("Enter: ") c = c.encode('utf-8') h = hashlib.new('ripemd160') d = h.update(c) print(d.hexdigest()) But this give me an…
user3447822
  • 25
  • 1
  • 5
0
votes
1 answer

strings from DynamoDB that were originally byte arrays have funky values

Now I'm not sure if this is something I'm doing wrong, or something thats happening in DynamoDB.. Basically, Im building a simple registration/login system for my project, saving the userdata/password in a DynamoDB instance with the password hashed…
mihok
  • 629
  • 1
  • 5
  • 10
-2
votes
2 answers

Are the two codes equivalent to each other?

i know ive asked similar questions like this before, but: Is this pseudocode here the same as my code? upper case variables are the variables in the pseudocode with " ' " and the values with conditions are all in lists, such as: all "s" conditions…
calccrypto
  • 8,583
  • 21
  • 68
  • 99
1
2