我对 HSM 很陌生。目前我需要将 HSM 集成到我的应用程序中,以便以安全的方式存储 PIN。为此,我必须使用命令 DE 来创建加密 PIN 的偏移量,但这需要 PVK 作为输入。我需要知道创建 PVK 的步骤。(命令和步骤)。
我尝试了以下步骤
FK
Key length [1,2,3]: 2
Key Type: 002
Key Scheme: U
Component type [X,H,E,S]: X
Enter number of components (2-9): 2
Enter component #1: **12345678901234567890123456789021**
Enter component #2: **12345678901234567890123456789012**
Encrypted key: U AB33 69A7 4368 D7DB EE8B 789B 8285 F9ED
Key check value: 4D35 AA
谁能告诉上面的步骤是创建 PVK 的正确方法。我也输入了随机数作为组件 1 和 2,这样做是否正确?