Skip to content

Nexo

Fingermark Nexo protocol

Overview

Fingermark Nexo is an implementation of the nexo encryption algorithm. This is primarily used for the @fingermarkglobal/adyen library

Usage

js
import { nexoEncrypt, nexoDecrypt } from '@fingermarkglobal/nexo'

const { blob, trailer } = nexoEncrypt({
    keyVersion: 1,
    keyId: 1,
    secret: 'shhhh',
    data: { ... }
    })

const decrypted = nexoDecrypt({ data: { blob, payload }, secret: 'shhhh' })