mirror of
https://github.com/jonasroussel/dart_jsonwebtoken.git
synced 2025-08-06 13:51:08 +08:00
Update lib/src/algorithms.dart
This commit is contained in:
@ -261,7 +261,7 @@ class RSAAlgorithm extends JWTAlgorithm {
|
|||||||
int byteValue = 32;
|
int byteValue = 32;
|
||||||
final secureRandom = pc.SecureRandom('Fortuna');
|
final secureRandom = pc.SecureRandom('Fortuna');
|
||||||
final random = Random.secure();
|
final random = Random.secure();
|
||||||
switch (algorithm) {
|
switch (name) {
|
||||||
case 'PS256':
|
case 'PS256':
|
||||||
byteValue = 32;
|
byteValue = 32;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user