bitboxDecrypt method

  1. @override
BuBytes bitboxDecrypt({
  1. required BuBytes ciphertext,
})
override

BitBox02: decrypts one message; throws CryptoException on native failure.

Implementation

@override
BuBytes bitboxDecrypt({required BuBytes ciphertext}) {
  return api.bitboxDecrypt(ciphertext: ciphertext).unwrapOrThrowCryptoError();
}