protected_value library

A secret held in memory behind one explicit accessor: TomProtectedValue.

An entry point of its own, because it needs only tom_basics: a package that holds secrets in memory takes this without linking the JWT and RSA libraries the tom_crypto.dart barrel brings.

Classes

TomProtectedValue
A secret in memory: reveal gives the plaintext, digest identifies it.