DecodeBox
Search
K
Guides
SDK Reference
Operations
Playgrounds
Operations Explorer
Auto Detection Lab
Encoding & Decoding Lab
Open DecodeBox
Theme
Menu
ON THIS PAGE
#
RSA Encrypt
Encrypts a short message to an RSA public key using OAEP padding.
ID:
rsa-encrypt
Category: Public Key
Aliases: rsa oaep, encrypt to public key
#
Arguments
Argument
Type
Default
Constraints
Key
textarea
""
PEM: -----BEGIN PUBLIC KEY----- or -----BEGIN PRIVATE KEY-----
Hash
option
"SHA-256"
SHA-256, SHA-384, SHA-512, SHA-1
Output
option
"Base64"
Hex, Base64, Raw bytes