Pico HSM Cipher¶
This page documents HSM > Management > Cipher in PicoKey App.
The Cipher tab executes crypto operations using an existing key (Key ID).

Prerequisite¶
Before running cipher operations:
- Go to
HSM > Management. - Enter
PIN. - Click Unlock.
- Wait until keys are loaded.
- If needed, expand
Sessionand use Reload / Change PIN. - Use a valid
Key ID.

Main controls¶
- Operation:
Sign,Decrypt,Encrypt,MAC,KDF - Algorithm: available values depend on key type and selected operation
- Key ID: key handle used by the operation
- I/O flow:
File floworText box flow - Run Cipher: executes the selected operation
I/O flow¶
Two input/output modes are available.
File flow¶
Use files as input and output.

Behavior:
- Input is read from Input file (or drop zone)
- Output is written to Output file
- Browse buttons select input/output paths
Text box flow¶
Use a single text area for both input and output.

Behavior:
- You write plaintext/data/signing input in the text box
- After execution, the same box is replaced with the result
- The
Text input/output is hextoggle switches between plain string mode and hex mode
Operation-specific fields¶
Encrypt/Decryptwith AEAD/stream-like modes can require IV / Nonce (hex) and optional AAD (text or hex).MACuses file/text input and writes tag output.KDFcan include Output length (bytes) and, for PBKDF2, PBKDF2 iterations.

Algorithm availability by key type¶
EdDSA keys (ed25519, ed448)¶
- Only
Signis available. - The only signature algorithm is
EDDSA.
Other ECC keys¶
Signsupports:EC-RAWEC-SHA1EC-SHA224EC-SHA256EC-SHA384EC-SHA512
RSA keys¶
Signsupports:RSA-RAWRSA-PKCS1RSA-PKCS1-SHA1RSA-PKCS1-SHA224RSA-PKCS1-SHA256RSA-PKCS1-SHA384RSA-PKCS1-SHA512RSA-PSSRSA-PSS-SHA1RSA-PSS-SHA224RSA-PSS-SHA256RSA-PSS-SHA384-
RSA-PSS-SHA512 -
Decryptsupports: RSA-RAWRSA-PKCS1RSA-OAEP
AES keys (symmetric keys)¶
Encrypt/Decryptsupport:CHACHAPOLYAES-ECBAES-CBC(input length must be a multiple of 16 bytes)AES-OFBAES-CFBAES-GCMAES-CCMAES-CTR-
AES-XTS -
MACsupports: CMACHMAC-SHA1HMAC-SHA224HMAC-SHA256HMAC-SHA384-
HMAC-SHA512 -
KDFsupports: HKDF-SHA256HKDF-SHA384HKDF-SHA512PBKDF2-SHA1PBKDF2-SHA224PBKDF2-SHA256PBKDF2-SHA384PBKDF2-SHA512X963-SHA1X963-SHA224X963-SHA256X963-SHA384X963-SHA512
Note
If a selected key type does not support an operation, the corresponding algorithms are not offered in the selector.