fn scalarmult(secret_key: [secret_length]u8, public_key: [public_length]u8) IdentityElementError![shared_length]u8

Compute the scalar product of a public key and a secret scalar. Note that the output should not be used as a shared secret without hashing it first.

Parameters

secret_key: [secret_length]u8,
public_key: [public_length]u8,