def fin
import bend-collections@1.0.0.0/src/crypto/argon2/blamka.bend as Blamkaimport Base
import bend-collections@1.0.0.0/src/crypto/argon2/types.bend as A
165# G(X, Y) = P(R) XOR R with R = X XOR Y, P on the rows then the columns
166# (RFC 9106 section 3.5).
167def fin(+r: A.Block) -> A.Block:
168 xor(cols(rows(r)),r)