mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-15 21:05:07 +00:00
This limit is applied both on encryption (if `config.s2kType` is set to `enums.s2k.argon2`) and decryption. If the input memory exponent exceeds this value, the library will not attempt the argon2 key derivation and instead directly throw an `Argon2OutOfMemoryError` error.