Right now, we statically set SH256 as the hash algorithm. To support different signature algorithms, and different pairing-friendly curves (i.e. different curve security levels would require different hash output lengths), we need to allow the hash algorithm to be set.
Right now, we statically set SH256 as the hash algorithm. To support different signature algorithms, and different pairing-friendly curves (i.e. different curve security levels would require different hash output lengths), we need to allow the hash algorithm to be set.