@@ -37,7 +37,7 @@ public class Argon2S2KTest
37
37
38
38
static final String TEST_MSG_PASSWORD = "password" ;
39
39
40
- // Test message from the crypto-refresh-05 document
40
+ // https://www.rfc-editor.org/rfc/rfc9580.html#name-v4-skesk-using-argon2-with-
41
41
static final String TEST_MSG_AES128 = "-----BEGIN PGP MESSAGE-----\n " +
42
42
"Comment: Encrypted using AES with 128-bit key\n " +
43
43
"Comment: Session key: 01FE16BBACFD1E7B78EF3B865187374F\n " +
@@ -48,7 +48,7 @@ public class Argon2S2KTest
48
48
"=uIks\n " +
49
49
"-----END PGP MESSAGE-----" ;
50
50
51
- // Test message from the crypto-refresh-05 document
51
+ // https://www.rfc-editor.org/rfc/rfc9580.html#name-v4-skesk-using-argon2-with-a
52
52
private static final String TEST_MSG_AES192 = "-----BEGIN PGP MESSAGE-----\n " +
53
53
"Comment: Encrypted using AES with 192-bit key\n " +
54
54
"Comment: Session key: 27006DAE68E509022CE45A14E569E91001C2955AF8DFE194\n " +
@@ -59,16 +59,16 @@ public class Argon2S2KTest
59
59
"=n8Ma\n " +
60
60
"-----END PGP MESSAGE-----" ;
61
61
62
- // Test message from the crypto-refresh-05 document
62
+ // https://www.rfc-editor.org/rfc/rfc9580.html#name-v4-skesk-using-argon2-with-ae
63
63
private static final String TEST_MSG_AES256 = "-----BEGIN PGP MESSAGE-----\n " +
64
- "Comment: Encrypted using AES with 192 -bit key\n " +
65
- "Comment: Session key: 27006DAE68E509022CE45A14E569E91001C2955AF8DFE194 \n " +
66
- " \n " +
67
- "wy8ECAThTKxHFTRZGKli3KNH4UP4AQQVhzLJ2va3FG8/pmpIPd/H/mdoVS5VBLLw \n " +
68
- "F9I+AdJ1Sw56PRYiKZjCvHg+2bnq02s33AJJoyBexBI4QKATFRkyez2gldJldRys \n " +
69
- "LVg77Mwwfgl2n/d572WciAM= \n " +
70
- "=n8Ma \n " +
71
- "-----END PGP MESSAGE-----" ;
64
+ "Comment: Encrypted using AES with 256 -bit key\n " +
65
+ "Comment: Session key: BBEDA55B9AAE63DAC45D4F49D89DACF4AF37FEF... \n " +
66
+ "Comment: Session key: ...C13BAB2F1F8E18FB74580D8B0 \n " +
67
+ " \n " +
68
+ "wzcECQS4eJUgIG/3mcaILEJFpmJ8AQQVnZ9l7KtagdClm9UaQ/Z6M/5roklSGpGu \n " +
69
+ "623YmaXezGj80j4B+Ku1sgTdJo87X1Wrup7l0wJypZls21Uwd67m9koF60eefH/K \n " +
70
+ "95D1usliXOEm8ayQJQmZrjf6K6v9PWwqMQ== \n " +
71
+ "-----END PGP MESSAGE-----" ;
72
72
73
73
static final String TEST_MSG_PLAIN = "Hello, world!" ;
74
74
0 commit comments