Remmina - The GTK+ Remote Desktop Client  v1.4.34
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
remmina_sodium.c File Reference

Remmina encryption functions,. More...

Go to the source code of this file.

Functions

gchar * remmina_sodium_pwhash (const gchar *pass)
 
gchar * remmina_sodium_pwhash_str (const gchar *pass)
 
gint remmina_sodium_pwhash_str_verify (const char *key, const char *pass)
 
void remmina_sodium_init (void)
 

Detailed Description

Remmina encryption functions,.

Author
Antenore Gatta
Date
31 Mar 2019

These functions are used to:

  • hash password using the Argon2 hashing algorithm.
  • Encrypt and decrypt data streams (files for examples).
gchar *test = remmina_sodium_pwhash("Password test");
g_free(test);
test = remmina_sodium_pwhash_str("Password Test");
g_free(test);
gint rc = remmina_sodium_pwhash_str_verify("$argon2id$v=19$m=65536,t=2,p=1$6o+kpazlHSaevezH2J9qUA$4pN75oHgyh1BLc/b+ybLYHjZbatG4ZSCSlxLI32YPY4", "Password Test");
gchar * remmina_sodium_pwhash_str(const gchar *pass)
gint remmina_sodium_pwhash_str_verify(const char *key, const char *pass)
gchar * remmina_sodium_pwhash(const gchar *pass)

Definition in file remmina_sodium.c.

Function Documentation

◆ remmina_sodium_init()

void remmina_sodium_init ( void  )

Definition at line 170 of file remmina_sodium.c.

◆ remmina_sodium_pwhash()

gchar* remmina_sodium_pwhash ( const gchar *  pass)

Definition at line 74 of file remmina_sodium.c.

◆ remmina_sodium_pwhash_str()

gchar* remmina_sodium_pwhash_str ( const gchar *  pass)

Definition at line 117 of file remmina_sodium.c.

◆ remmina_sodium_pwhash_str_verify()

gint remmina_sodium_pwhash_str_verify ( const char *  key,
const char *  pass 
)

Definition at line 159 of file remmina_sodium.c.