Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions _data/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -595,10 +595,18 @@ module.exports = {
title: 'Hex Decode',
url: '/docs/jobs/task-types/hexdecode/',
},
{
title: 'Hex Encode',
url: '/docs/jobs/task-types/hexencode/',
},
{
title: 'Base64 Decode',
url: '/docs/jobs/task-types/base64decode/',
},
{
title: 'Base64 Encode',
url: '/docs/jobs/task-types/base64encode/',
},
{
title: 'Uppercase',
url: '/docs/jobs/task-types/uppercase/',
Expand Down
25 changes: 25 additions & 0 deletions docs/Oracle Jobs/Task Types/task_base64encode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: nodes.liquid
section: nodeOperator
date: Last Modified
title: "Base64 Encode Task"
permalink: "docs/jobs/task-types/base64encode/"
---

Encodes bytes/string into a Base64 string.

**Parameters**

- `input`: Byte array or string to be encoded.

**Outputs**

String with Base64 encoding of input.

**Example**

```jpv2
my_base64encode_task [type="base64encode" input="Hello, playground"]
```

Given the input string "Hello, playground", the task will return "SGVsbG8sIHBsYXlncm91bmQ=".
25 changes: 25 additions & 0 deletions docs/Oracle Jobs/Task Types/task_hexencode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: nodes.liquid
section: nodeOperator
date: Last Modified
title: "Hex Encode Task"
permalink: "docs/jobs/task-types/hexencode/"
---

Encodes bytes/string/integer into a hexadecimal string.

**Parameters**

- `input`: Byte array, string or integer to be encoded.

**Outputs**

Hexadecimal string prefixed with "0x" (or empty string if input was empty).

**Example**

```jpv2
my_hexencode_task [type="hexencode" input="xyz"]
```

Given the input string "xyz", the task will return "0x78797a", which are the ascii values of characters in the string.