Ask Your Question
0

cryptographic hash function

asked 2019-04-12 07:10:51 -0500

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-04-12 13:33:50 -0500

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.

edit flag offensive delete link more

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: 2019-04-12 07:10:51 -0500

Seen: 157 times

Last updated: Apr 12