Snap state (managed through `snap_manageState`) can be cached in memory to improve performance, and avoid decrypting multiple times.