π€Onboard
The function onboards a given Ciphertext to the gcEVM, resulting in a Garbledtextβ’ value.
Please note that the function onboard
can only be invoked with ciphertext encrypted by the system AES key. Such ciphertexts are generated through the offboard
call. If offboardToUser
is called, encrypting the data with the user key and then attempting to onboard it using the onboard
function will result in an error.
In order to onboard a ciphertext encrypted by the user AES key, use the validate Input text function.
Usage example
The onBoardcall in line 8 turns the "ctSystemKey" Ciphertext value to a Garbledtextβ’.
Last updated