Breadcrumbs

Crypto Adapter Reference

Tagged Values (<<Crypto>>)

Attribute

Description

Allowed Values

action



Supply the action you want to perform.

createKeys

Create a private/public key pair.

createSignature

Create a signature with a given key.

verifySignature

Verify a signature against a given key.

createHash

Create a hash value of a given blob.

digestAlgorithm

Supply the digest algorithm for generating a hash.

blake2b512, blake2s256,
md4, md5, md5-sha1,
mdc2,
ripemd, ripemd160,
sha1, sha224, sha256,
sha3-224, sha3-256, sha3-384, sha3-512,
sha384,
sha512, sha512-224, sha512-256,
shake128, shake256,
sm3,
ssl3-md5, ssl3-sha1,
whirlpool

Use the specified algorithm with action createHash. Default if not set is sha1.

Parameters

createKeys

Name

Type

Direction

Description

privateKey

Blob

out

Returns the generated private key.

publicKey

Blob

out

Returns the generated public key.

createSignature

Name

Type

Direction

Description

data

Blob

in

Specify the data that should be signed.

privateKey

Blob

in

Specify the private key to generate the signature from.

signature

Blob

out

Returns the generated signature.

verifySignature

Name

Type

Direction

Description

data

Blob

in

Specify the data to verify the signature against.

publicKey

Blob

in

Specify the public key to verify the signature against.

signature

Blob

in

Specify the signature to verify

createHash

Name

Type

Direction

Description

Allowed Values

algorithm

String

in

Specify the algorithm you want to use for hashing.

Not supplied

Use the algorithm defined in tagged value digestAlgorithm of the  <<Crypto>> adapter.

blake2b512, blake2s256,
md4, md5, md5-sha1,
mdc2,
ripemd, ripemd160,
sha1, sha224, sha256,
sha3-224, sha3-256, sha3-384, sha3-512,
sha384,
sha512, sha512-224, sha512-256,
shake128, shake256,
sm3,
ssl3-md5, ssl3-sha1,
whirlpool

Use the specified algorithm to generate the hash.

data

Blob

in

Specify the data to create the hash value from.



hash

Blob

out

Returns the generated hash.