Crypto

Crypto API

Crypto API provides the ability to sign messages using different algorithms.

Method summary

Apperyio.Crypto has the following methods:

Method

Description

sign(message, privateKey, algorithm)

Signs the message with specified algorithm using specified privateKey

verify(message, publicKey, signature, algorithm)

Verifies signed message with specified algorithm using specified publicKey and signature