Ask Your Question

cryptographic hash function

asked 2019-04-12 14:10:51 +0200

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-04-12 20:33:50 +0200

nbruin gravatar image

I think that's an external library, and 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


Asked: 2019-04-12 14:10:51 +0200

Seen: 2,033 times

Last updated: Apr 12 '19