KangarooTwelve
Generate digest bytes with the KT128 and KT256 tree hashes.
from oxcrypto.xof.k12 import K12
algorithm = K12.KT128
output = algorithm.digest_chunks([b"first", b"second"], 32, customization=b"example protocol")Use K12.KT128 or K12.KT256. Both variants accept a byte-string customization.