cheatfate / nimcrypto

Nim cryptographic library
MIT License
189 stars 23 forks source link

possibility of exposing Blake2 compression function 'F'. #32

Open jangko opened 4 years ago

jangko commented 4 years ago

currently, the F compression function of Blake2 in NimCrypto is hardcoded each for Blake2b and Blake2s. it is not reusable.

use case: EIP-152: Add Blake2 compression function F

but this is not a pressing matter. just a thought. an optimized reusable 'F' function might not match NimCrypto's Blake2 design.