Closed konsultaner closed 1 month ago
Once the stored key was created, it is likly that a router will not change the kdf or kdf options. So caching reduces a lot of initial performance for higher kdf iteration values. Especially when using SCRAM on mobile devices.
https://github.com/konsultaner/connectanum-dart/blob/e2c9d25243ae3298038711b88705c0693639b4cc/lib/src/authentication/scram_authentication.dart#L98-125
Once the stored key was created, it is likly that a router will not change the kdf or kdf options. So caching reduces a lot of initial performance for higher kdf iteration values. Especially when using SCRAM on mobile devices.
https://github.com/konsultaner/connectanum-dart/blob/e2c9d25243ae3298038711b88705c0693639b4cc/lib/src/authentication/scram_authentication.dart#L98-125