Re: [Vala] encrypt decrypt



Come on, we can be a bit more friendly to new guys.

There is a cryptographic library called libgcrypt (
http://directory.fsf.org/wiki/Libgcrypt) which seems to have bindings for
Vala (https://live.gnome.org/Vala/ExternalBindings) so you can probably use
that to encrypt/decrypt your data.
To use external bindings like that you need the vapi file in a directory
where Vala can find it, such as with the --vapidir option. And of course,
you need the actual library installed in your computer. Then you can read
the libgcrypt documentation to see how it works and the vapi file to see how
the C api is mapped to the Vala code. Hope it works for you.

*Alexandre Rosenfeld*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]