2012-02-12 16:14:03 +00:00
|
|
|
/*
|
|
|
|
Copyright (C) 2009-2012 Alexander Butenko <a.butenka@gmail.com>
|
|
|
|
Copyright (C) 2009-2012 Christian Dywan <christian@twotoasts.de>
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __FORMHISTORY_CRYPT_H__
|
|
|
|
#define __FORMHISTORY_CRYPT_H__
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
gchar* domain;
|
|
|
|
gchar* form_data;
|
2012-02-12 21:48:52 +00:00
|
|
|
FormHistoryPriv* priv;
|
2012-02-12 16:14:03 +00:00
|
|
|
} FormhistoryPasswordEntry;
|
|
|
|
|
|
|
|
gchar*
|
2012-02-12 23:16:21 +00:00
|
|
|
formhistory_encrypt (const gchar* input, const gchar* key);
|
2012-02-12 16:14:03 +00:00
|
|
|
|
|
|
|
gchar*
|
2012-02-12 23:16:21 +00:00
|
|
|
formhistory_decrypt (const gchar* b64input, const char* key);
|
2012-02-12 16:14:03 +00:00
|
|
|
|
|
|
|
#endif
|