forked from pplanel/hash-calculator-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
26 lines (26 loc) · 752 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: 'Hash Calculator'
description: Hash Calculator lets you calculate the cryptographic hash value of a string.
branding:
icon: hash
color: gray-dark
runs:
using: 'node12'
main: 'dist/index.js'
inputs:
method:
required: true
description: The algorithm used to hash the input string. Check docs for all available methods.
input:
required: true
description: Input string to be converted
output_len:
required: false
description: When choosing MD3(Keccak) you can optionally choose its output length. Default is 512 bits.
default: -1
truncate:
required: false
description: Truncate the output digest
default: false
outputs:
digest:
description: Generated hash based on input and hash method.