Bug Fix: Guarantee that secret is computed within a read transaction.