pedersenHash abstract method
Pedersen hash over packed LSB-first bits → 32-byte Jubjub compressed.
personal selects the generator set (0 = note commitment,
1 = Merkle tree at layer); bitLen is the number of significant
bits in packedBits. Routes to the active backend (pure-Dart
PedersenHash, or native Rust). Throws on crypto failure.
Implementation
BuBytes pedersenHash({
required int personal,
int layer = 0,
required BuBytes packedBits,
required int bitLen,
});