✨Secure Data Types
The gcEVM extends the capabilities of the EVM across various dimensions. Initially, it introduces novel data types to accommodate the necessity of maintaining confidentiality. Subsequently, it introduces additional operations capable of manipulating these confidential data types without compromising their secrecy.
Data Types
To support confidentiality, we introduce a new set of data types mirroring the existing solidity types with size of up to 64 bits. We present three new types needed for manipulating private smart contracts:
Inputtext (
itBool, itUint8, itUint16, itUint32, itUint64)Ciphertext (
ctBool, ctUint8, ctUint16, ctUint32, ctUint64)Garbledtext™(
gtBool, gtUint8, gtUint16, gtUint32, gtUint64)
We make a distinction between secret data types that are used for security ‘at rest’, ‘in transit’, or ‘in use’. That is, while the ciphertext data type (denoted CT) are used to secure data at rest, we use the inputtext data type (denoted IT) for protecting data in transit and the garbledtext™ data type (denoted GT) for protecting data in use.
Last updated