Navigation Structure

Table of contents

  1. _sha1sum
  2. _md5sum
  3. _sha256sum
  4. _sha256sum
  5. _encryptAES
  6. _decryptAES

funcml-core can leverage cryptographic functions.

_sha1sum

Returns the sum of a string as sha1sum.

Usage

key:
  _sha1sum: "string"

will be rendered as:

key: ecb252044b5ea0f679ee78ec1a12904739e2904d

_md5sum

Returns the sum of a string as md5.

Usage

key:
  _md5sum: "test"

will be rendered as:

key: 098f6bcd4621d373cade4e832627b4f6

_sha256sum

Returns the sum of a string as sha1sum.

Usage

key:
  _sha256sum: "string"

will be rendered as:

key: 473287f8298dba7163a897908958f7c0eae733e25d2e027992ea2edc9bed2fa8

_sha256sum

Returns the sum of a string as sha1sum.

Usage

key:
  _sha256sum: "string"

will be rendered as:

key: 473287f8298dba7163a897908958f7c0eae733e25d2e027992ea2edc9bed2fa8

_encryptAES

Returns an encrypted data using an encryption key (aes-256-cbc).

Usage

key:
  _encryptAES:
    data: data
    encryptionKey: secretkey

will be rendered as:

key: C5EA6CDBA6CBBD4CA89DF9BC862F3490

_decryptAES

Returns a decrypted data using an encryption key (aes-256-cbc).

Usage

key:
  _decryptAES:
    data: C5EA6CDBA6CBBD4CA89DF9BC862F3490
    encryptionKey: secretkey

will be rendered as:

key: data