# Sign Message

> Kalipso 5.0 documentation · https://doc.sysdevmobile.com/kalipso/5.0/developing/form/actions/actions-description/group-code-flow/sign-message

Sign Message with your Private Key will generate a “hash” that can be verified with your public key.

Action available for the following operating systems:

-d4a54d199c0ad0f6bafe31121399c7f2.png)

### Parameters

* **Data Type** _\<numeric> -_ Select the data type of your message
  * 1 - Text UTF-16 LE
  * 2 - Text ANSI/Binary
  * 3 - Text UTF-8
* **Source** _\<string> -_ Select a Text, Variable or control to be Sign.
* **Target** _-_ Select a Variable or Control.
* **Result Encoding** _\<numeric>_
  * 1 - None (Binary)
  * 2 - Base 64
* **Algorithm** _\<numeric> -_ Select the algorithm to be used:
  * Dynamic
    * 1 - RSA PKCS1 Padding
    * 2 - RSA OAEP Padding
* **Key (Private)** _\<string>_ - Fill with a String, Control or Variable. **PrivateKey** must be provided in PKCS#8 format encoded in Base64 (with no headers/footers).

:::info
For more information see Android documentation: [https://developer.android.com/reference/java/security/spec/PKCS8EncodedKeySpec](https://developer.android.com/reference/java/security/spec/PKCS8EncodedKeySpec)
:::

* **Key Size** _\<numeric> -_ Default value: 2048
