20 lines
340 B
C
20 lines
340 B
C
#pragma once
|
|
|
|
/**
|
|
** \defgroup bcrypt_js bCrypt
|
|
** Exposes bcrypt to script, where it is used for hashing and verifying
|
|
** passwords.
|
|
** @{
|
|
*/
|
|
|
|
/** A JS context. */
|
|
typedef struct JSContext JSContext;
|
|
|
|
/**
|
|
** Register the bcrypt script interface.
|
|
** @param context The JS context.
|
|
*/
|
|
void tf_bcrypt_register(JSContext* context);
|
|
|
|
/** @} */
|