AleoNet / aleo-setup

A Setup Ceremony for Universal SNARKs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sign request payloads

ibaryshnikov opened this issue · comments

At the moment we do sign method + path

let message = format!("{} {}", method.to_lowercase(), path.to_lowercase());
let signature = hex::encode(&view_key.sign(message.as_bytes(), rng)?.to_bytes_le()?);

Signing payloads will improve security of the system