pub fn build_msg(input: &[u8], sk: &SecretKey, nonce: u64) -> Result<Vec<u8>>