Where are the Encrypted repos info in DB?

Hello,
I’m trying to find the info used for the encrypted repos in the DB.
I’m specifically talking about the info used by the function seafile_verify_repo_passwd that can be found here https ://github.com/haiwen/seafile/blob/master/common/seafile-crypt.c#L198

My main idea is to write a Python wrapper that verifies the repo password without passing via the webserver, basically by checking in the DB directly.

Does anybody have any idea about there to find those info?

[…]
seafile_verify_repo_passwd (const char *repo_id,
const char *passwd,
const char *magic,
int version,
const char *repo_salt)
{
[…]