# uk.skyblur.post.encrypt

> Published by [skyblur.uk](https://lexicon.garden/identity/did:plc:4sm3vprfyl55ui3yhjd7w4po)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4sm3vprfyl55ui3yhjd7w4po/uk.skyblur.post.encrypt)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4sm3vprfyl55ui3yhjd7w4po/uk.skyblur.post.encrypt/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4sm3vprfyl55ui3yhjd7w4po/uk.skyblur.post.encrypt/examples)

## Definitions

### `uk.skyblur.post.encrypt`

**Type**: `procedure`

Encrypting the post.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `body` | `string` | Yes |  |
| `password` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `body` | `string` | Yes |  |
| `message` | `string` | No |  |

## Raw Schema

```json
{
  "id": "uk.skyblur.post.encrypt",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "body",
            "password"
          ],
          "properties": {
            "body": {
              "type": "string"
            },
            "password": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "body"
          ],
          "properties": {
            "body": {
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json",
        "description": "Returns the encrypted result."
      },
      "description": "Encrypting the post."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
