/// <summary> /// Creates the specified MSG. /// </summary> /// <param name="msg">The MSG.</param> /// <param name="senderPrivateKey">The sender private key.</param> /// <param name="receiverPublicKey">The receiver public key.</param> /// <returns>SecureMessage.</returns> public static SecureMessage Create(string msg, string senderPrivateKey, string receiverPublicKey) { return(new SecureMessage(CryptoUtils.AsymetricEncode(msg, senderPrivateKey, receiverPublicKey).FromHex())); }