First time here? Check out the FAQ!

Ask Your Question
1

cryptographic hash function

asked 6 years ago

KatinkaBou gravatar image

Hello, I'm writing a Sage program to implement a Public Key Cryptographic scheme and I need a cryptographic hash function that takes as input a binary string of a given size d_domain and outputs a binary string of a given size d_range. I read the documentation of the package Crypto.Hash, but I don't understand how to use the hash functions there. Can someone help me? Example parameters are: d_domain = d_range = 256

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 6 years ago

nbruin gravatar image

I think that's an external library, and https://pypi.org/project/pycrypto/ may be the project page for it. The documentation there should help you along.

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 6 years ago

Seen: 2,591 times

Last updated: Apr 12 '19