package conex

  1. Overview
  2. Docs
include Conex_crypto.VERIFY_BACK
val verify_rsa_pss : key:string -> data:string -> signature:string -> (unit, [> Conex_crypto.verification_error ]) result

verify_rsa_pss ~key ~data ~signature returns Ok () on success, otherwise a verification_error. Currently, SHA256 is used as hash algorithm.

val b64sha256 : string -> string

b64sha356 str computes the SHA256 digest of str and converts it to base64.