Skip to main content
Skip table of contents

Crypto Adapter Reference

Tagged Values (<<Crypto>>)

AttributeDescriptionAllowed Values
action

Supply the action you want to perform.createKeysCreate a private/public key pair.
createSignatureCreate a signature with a given key.
verifySignatureVerify a signature against a given key.
createHashCreate 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

NameTypeDirectionDescription
privateKeyBloboutReturns the generated private key.
publicKeyBloboutReturns the generated public key.

createSignature

NameTypeDirectionDescription
dataBlobinSpecify the data that should be signed.
privateKeyBlobinSpecify the private key to generate the signature from.
signatureBloboutReturns the generated signature.

verifySignature

NameTypeDirectionDescription
dataBlobinSpecify the data to verify the signature against.
publicKeyBlobinSpecify the public key to verify the signature against.
signatureBlobinSpecify the signature to verify

createHash

NameTypeDirectionDescriptionAllowed Values
algorithmStringinSpecify 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.
dataBlobinSpecify the data to create the hash value from.

hashBloboutReturns the generated hash.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.