File.openEncrypted

Opens an encrypted file in write or read mode. You need to pass a binary key to encrypt/decrypt it. Note: The provided key must be 32 bytes long.

struct File
@nogc nothrow
GodotError
openEncrypted
(
in String path
,
in long mode_flags
,
in PoolByteArray key
)

Meta