dart-pg
dart-pg copied to clipboard
Caching session keys derived from passwords
I have a use case where I may need to decrypt multiple cyphertexts symmetrically encrypted with the same password.
Currently it seems that I must pay the penalty for converting the password to a session key (several seconds on mobile hardware) once for every cyphertext.
Is there any way to cache the session keys so that the conversion only happens once?