Function hdk::ed25519::verify_signature_raw
source · [−]pub fn verify_signature_raw<K, S>(
key: K,
signature: S,
data: Vec<u8, Global>
) -> Result<bool, WasmError> where
K: Into<HoloHash<Agent>>,
S: Into<Signature>,
Expand description
Verify the passed signature and public key against the literal bytes input.
The data is used as-is, there is no serialization or additional processing.
This is best to use if you have literal bytes from somewhere.
If you pass in a Vec
See verify_signature