SecretEncryptionUtils..::..Encrypt Method

Encrypts the specified contract code hash.

Namespace:  SecretNET.Common
Assembly:  SecretNET (in SecretNET.dll)

Syntax


public Task<byte[]> Encrypt(
	string contractCodeHash,
	Object contractMsg
)

Parameters

contractCodeHash
Type: String
The contract code hash.
contractMsg
Type: Object
The contract MSG.

Return Value

System.Byte[].