derive Avs Secret
Derives a new key from the group to use with AVS
Parameters
id
conversation identifier
key Length
the length of the key to be derived. If the value is higher than the bounds of u16
or the context hash * 255, an error will be returned