CRONTO Image generator

This is a super simple command-line wrapper for Onespan's Image Generator SDK to generate cronto images out of the getSecureChallenge SOAP API call output, for provisioning DIGIPASS smart tokens.

Use it by passing the secure challenge hex string as the first parameter, and get a base64-encoded PNG image as a result.

Usage from the command line

./bin/cronto yourdata

spits on standard output the cronto image encoded as a base64 PNG

Usage within Ruby apps

Add to Gemfile

gem 'cronto'

return a string with the cronto image as a base64 PNG

Cronto.generate('yourdata')