Skip to content

Commit f8ca48d

Browse files
author
ccfelius
committed
adding Encrypted type explanation
1 parent d6c3a9d commit f8ca48d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ SELECT generate_key(16) as key;
3030

3131
will produce a 16-byte base64 encoded key.
3232

33+
### Encrypted Types
34+
In VCrypt, an encrypted value is represented as a `STRUCT` type internally. Because this is somewhat complex to define, we implemented `ENCRYPTED` types.
35+
Each encrypted type is prefixed by `E_`; for example, an encrypted `INTEGER` is represented as `E_INTEGER`.
36+
37+
All non-nested existing types in DuckDB are currently supported by VCrypt.
38+
3339
### Encrypting and Decrypting
3440

3541
For Vectorized Encryption (batch encryption/decryption), Encrypt or Decrypt with:

0 commit comments

Comments
 (0)