poseidonBn254Hash method

  1. @override
BuBytes poseidonBn254Hash(
  1. List<int> inputs
)
override

circomlib-compatible Poseidon over BN254 Fr (Sui zkLogin / Aptos keyless). inputs is concatenated 32-byte LE Fr elements (1..64); returns the 32-byte LE digest. Native backends built without the Rust poseidon-bn254 feature throw unsupported.

Implementation

@override
BuBytes poseidonBn254Hash(List<int> inputs) {
  throw BuError(
    DefaultErrorType.unsupported,
    'NativeHashApi.poseidonBn254Hash: pure-Dart backend has not support; '
    'use NativeHashApi via blockchainUtils.setRustApi().',
  );
}