Narcoleptic Pasta Manufacturer
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

noflo-crypto

0.2.3 • Public • Published

crypto Build Status

Wrapper around googlecode's crypto-js

Usage

Parse

Parse a string in a particular encoding into a CryptoJS object.

In-ports

  • ENCODING: the encoding, which could be 'Hex', 'Latin1', or 'Utf8'. Default is 'Utf8'.
  • IN: the incoming string to parse

Out-ports

  • OUT: a CryptoJS object

Stringify

Stringify a CryptoJS object into a string in the desired encoding.

In-ports

  • ENCODING: the encoding, which could be 'Hex', 'Latin1', or 'Utf8' Default is 'Utf8'.
  • IN: A CryptoJS object returned by 'Parse'

Out-ports

  • OUT: a string in the said encoding

Examples

Encode a string in English into Hex string.

'Hex' -> ENCODING ToHex(crypto/Stringify)
'I am so excited to be encoded.' -> IN ToCrypto(crypto/Parse) OUT -> IN ToHex() OUT -> IN Output(Output)

Keywords

none

install

npm i noflo-crypto

Downloadsweekly downloads

0

version

0.2.3

license

none

repository

githubgithub

last publish

collaborators

  • avatar