Update lib/src/algorithms.dart

This commit is contained in:
Jonas Roussel
2025-01-01 10:24:44 +01:00
parent b6056ced3c
commit b3113297a9

View File

@ -261,7 +261,7 @@ class RSAAlgorithm extends JWTAlgorithm {
int byteValue = 32;
final secureRandom = pc.SecureRandom('Fortuna');
final random = Random.secure();
switch (algorithm) {
switch (name) {
case 'PS256':
byteValue = 32;
break;