dart-pg icon indicating copy to clipboard operation
dart-pg copied to clipboard

Caching session keys derived from passwords

Open amake opened this issue 1 year ago • 0 comments

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?

amake avatar Dec 26 '23 00:12 amake