Move resources to "prebuilts" folder. Fixes #904
This commit is contained in:
parent
c36738e2ba
commit
630c045397
14 changed files with 9 additions and 9 deletions
201
prebuilts/BCrypt.Net.XML
Normal file
201
prebuilts/BCrypt.Net.XML
Normal file
|
|
@ -0,0 +1,201 @@
|
|||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>BCrypt.Net</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:BCrypt.Net.BCrypt">
|
||||
<summary>BCrypt implementation.</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
BCrypt implements OpenBSD-style Blowfish password hashing using the scheme described in
|
||||
<a href="http://www.usenix.org/event/usenix99/provos/provos_html/index.html">"A Future-
|
||||
Adaptable Password Scheme"</a> by Niels Provos and David Mazieres.
|
||||
</para>
|
||||
<para>
|
||||
This password hashing system tries to thwart off-line password cracking using a
|
||||
computationally-intensive hashing algorithm, based on Bruce Schneier's Blowfish cipher.
|
||||
The work factor of the algorithm is parameterised, so it can be increased as computers
|
||||
get faster.
|
||||
</para>
|
||||
<para>
|
||||
Usage is really simple. To hash a password for the first time, call the <see cref="M:BCrypt.Net.BCrypt.HashPassword(System.String)"/> method with a random salt, like this:
|
||||
</para>
|
||||
<code>string pw_hash = BCrypt.HashPassword(plain_password);</code>
|
||||
<para>
|
||||
To check whether a plaintext password matches one that has been hashed previously,
|
||||
use the <see cref="M:BCrypt.Net.BCrypt.Verify(System.String,System.String)"/> method:
|
||||
</para>
|
||||
<code>
|
||||
if (BCrypt.Verify(candidate_password, stored_hash))
|
||||
Console.WriteLine("It matches");
|
||||
else
|
||||
Console.WriteLine("It does not match");
|
||||
</code>
|
||||
<para>
|
||||
The <see cref="M:BCrypt.Net.BCrypt.GenerateSalt"/> method takes an optional parameter (workFactor) that
|
||||
determines the computational complexity of the hashing:
|
||||
</para>
|
||||
<code>
|
||||
string strong_salt = BCrypt.GenerateSalt(10);
|
||||
string stronger_salt = BCrypt.GenerateSalt(12);
|
||||
</code>
|
||||
<para>
|
||||
The amount of work increases exponentially (2**log_rounds), so each increment is twice
|
||||
as much work. The default log_rounds is 10, and the valid range is 4 to 31.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.HashString(System.String)">
|
||||
<summary>
|
||||
Hash a string using the OpenBSD bcrypt scheme and a salt generated by <see cref="M:BCrypt.Net.BCrypt.GenerateSalt"/>.
|
||||
</summary>
|
||||
<remarks>Just an alias for HashPassword.</remarks>
|
||||
<param name="source">The string to hash.</param>
|
||||
<returns>The hashed string.</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.HashString(System.String,System.Int32)">
|
||||
<summary>
|
||||
Hash a string using the OpenBSD bcrypt scheme and a salt generated by <see cref="M:BCrypt.Net.BCrypt.GenerateSalt"/>.
|
||||
</summary>
|
||||
<remarks>Just an alias for HashPassword.</remarks>
|
||||
<param name="source"> The string to hash.</param>
|
||||
<param name="workFactor">The log2 of the number of rounds of hashing to apply - the work
|
||||
factor therefore increases as 2**workFactor.</param>
|
||||
<returns>The hashed string.</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.HashPassword(System.String)">
|
||||
<summary>
|
||||
Hash a password using the OpenBSD bcrypt scheme and a salt generated by <see cref="M:BCrypt.Net.BCrypt.GenerateSalt"/>.
|
||||
</summary>
|
||||
<param name="input">The password to hash.</param>
|
||||
<returns>The hashed password.</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.HashPassword(System.String,System.Int32)">
|
||||
<summary>
|
||||
Hash a password using the OpenBSD bcrypt scheme and a salt generated by <see cref="M:BCrypt.Net.BCrypt.GenerateSalt(System.Int32)"/> using the given <paramref name="workFactor"/>.
|
||||
</summary>
|
||||
<param name="input"> The password to hash.</param>
|
||||
<param name="workFactor">The log2 of the number of rounds of hashing to apply - the work
|
||||
factor therefore increases as 2**workFactor.</param>
|
||||
<returns>The hashed password.</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.HashPassword(System.String,System.String)">
|
||||
<summary>Hash a password using the OpenBSD bcrypt scheme.</summary>
|
||||
<exception cref="T:System.ArgumentException">Thrown when one or more arguments have unsupported or
|
||||
illegal values.</exception>
|
||||
<param name="input">The password to hash.</param>
|
||||
<param name="salt"> the salt to hash with (perhaps generated using BCrypt.gensalt).</param>
|
||||
<returns>The hashed password</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.GenerateSalt(System.Int32)">
|
||||
<summary>
|
||||
Generate a salt for use with the <see cref="M:BCrypt.Net.BCrypt.HashPassword(System.String,System.String)"/> method.
|
||||
</summary>
|
||||
<param name="workFactor">The log2 of the number of rounds of hashing to apply - the work
|
||||
factor therefore increases as 2**workFactor.</param>
|
||||
<returns>A base64 encoded salt value.</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.GenerateSalt">
|
||||
<summary>
|
||||
Generate a salt for use with the <see cref="M:BCrypt.Net.BCrypt.HashPassword(System.String,System.String)"/> method
|
||||
selecting a reasonable default for the number of hashing rounds to apply.
|
||||
</summary>
|
||||
<returns>A base64 encoded salt value.</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.Verify(System.String,System.String)">
|
||||
<summary>
|
||||
Verifies that the hash of the given <paramref name="text"/> matches the provided
|
||||
<paramref name="hash"/>
|
||||
</summary>
|
||||
<param name="text">The text to verify.</param>
|
||||
<param name="hash"> The previously-hashed password.</param>
|
||||
<returns>true if the passwords match, false otherwise.</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.EncodeBase64(System.Byte[],System.Int32)">
|
||||
<summary>
|
||||
Encode a byte array using bcrypt's slightly-modified base64 encoding scheme. Note that this
|
||||
is *not* compatible with the standard MIME-base64 encoding.
|
||||
</summary>
|
||||
<exception cref="T:System.ArgumentException">Thrown when one or more arguments have unsupported or
|
||||
illegal values.</exception>
|
||||
<param name="byteArray">The byte array to encode.</param>
|
||||
<param name="length"> The number of bytes to encode.</param>
|
||||
<returns>Base64-encoded string.</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.DecodeBase64(System.String,System.Int32)">
|
||||
<summary>
|
||||
Decode a string encoded using bcrypt's base64 scheme to a byte array. Note that this is *not*
|
||||
compatible with the standard MIME-base64 encoding.
|
||||
</summary>
|
||||
<exception cref="T:System.ArgumentException">Thrown when one or more arguments have unsupported or
|
||||
illegal values.</exception>
|
||||
<param name="encodedstring">The string to decode.</param>
|
||||
<param name="maximumBytes"> The maximum bytes to decode.</param>
|
||||
<returns>The decoded byte array.</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.Char64(System.Char)">
|
||||
<summary>
|
||||
Look up the 3 bits base64-encoded by the specified character, range-checking against
|
||||
conversion table.
|
||||
</summary>
|
||||
<param name="character">The base64-encoded value.</param>
|
||||
<returns>The decoded value of x.</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.Encipher(System.UInt32[],System.Int32)">
|
||||
<summary>Blowfish encipher a single 64-bit block encoded as two 32-bit halves.</summary>
|
||||
<param name="blockArray">An array containing the two 32-bit half blocks.</param>
|
||||
<param name="offset"> The position in the array of the blocks.</param>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.StreamToWord(System.Byte[],System.Int32@)">
|
||||
<summary>Cycically extract a word of key material.</summary>
|
||||
<param name="data">The string to extract the data from.</param>
|
||||
<param name="off"> [in,out] The current offset.</param>
|
||||
<returns>The next word of material from data.</returns>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.InitializeKey">
|
||||
<summary>Initializes the Blowfish key schedule.</summary>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.Key(System.Byte[])">
|
||||
<summary>Key the Blowfish cipher.</summary>
|
||||
<param name="keyBytes">The key byte array.</param>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.EKSKey(System.Byte[],System.Byte[])">
|
||||
<summary>
|
||||
Perform the "enhanced key schedule" step described by Provos and Mazieres in "A Future-
|
||||
Adaptable Password Scheme" http://www.openbsd.org/papers/bcrypt-paper.ps.
|
||||
</summary>
|
||||
<param name="saltBytes"> Salt byte array.</param>
|
||||
<param name="inputBytes">Input byte array.</param>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.BCrypt.CryptRaw(System.Byte[],System.Byte[],System.Int32)">
|
||||
<summary>Perform the central hashing step in the bcrypt scheme.</summary>
|
||||
<exception cref="T:System.ArgumentException">Thrown when one or more arguments have unsupported or
|
||||
illegal values.</exception>
|
||||
<param name="inputBytes">The input byte array to hash.</param>
|
||||
<param name="saltBytes"> The salt byte array to hash with.</param>
|
||||
<param name="logRounds"> The binary logarithm of the number of rounds of hashing to apply.</param>
|
||||
<returns>A byte array containing the hashed result.</returns>
|
||||
</member>
|
||||
<member name="T:BCrypt.Net.SaltParseException">
|
||||
<summary>Exception for signalling parse errors. </summary>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.SaltParseException.#ctor">
|
||||
<summary>Default constructor. </summary>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.SaltParseException.#ctor(System.String)">
|
||||
<summary>Initializes a new instance of <see cref="T:BCrypt.Net.SaltParseException"/>.</summary>
|
||||
<param name="message">The message.</param>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.SaltParseException.#ctor(System.String,System.Exception)">
|
||||
<summary>Initializes a new instance of <see cref="T:BCrypt.Net.SaltParseException"/>.</summary>
|
||||
<param name="message"> The message.</param>
|
||||
<param name="innerException">The inner exception.</param>
|
||||
</member>
|
||||
<member name="M:BCrypt.Net.SaltParseException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
||||
<summary>Initializes a new instance of <see cref="T:BCrypt.Net.SaltParseException"/>.</summary>
|
||||
<param name="info"> The information.</param>
|
||||
<param name="context">The context.</param>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
prebuilts/BCrypt.Net.dll
Normal file
BIN
prebuilts/BCrypt.Net.dll
Normal file
Binary file not shown.
BIN
prebuilts/BCrypt.Net.pdb
Normal file
BIN
prebuilts/BCrypt.Net.pdb
Normal file
Binary file not shown.
BIN
prebuilts/HttpServer.dll
Normal file
BIN
prebuilts/HttpServer.dll
Normal file
Binary file not shown.
BIN
prebuilts/HttpServer.pdb
Normal file
BIN
prebuilts/HttpServer.pdb
Normal file
Binary file not shown.
6188
prebuilts/HttpServer.xml
Normal file
6188
prebuilts/HttpServer.xml
Normal file
File diff suppressed because it is too large
Load diff
BIN
prebuilts/Mono.Data.Sqlite.dll
Normal file
BIN
prebuilts/Mono.Data.Sqlite.dll
Normal file
Binary file not shown.
BIN
prebuilts/MySql.Data.dll
Normal file
BIN
prebuilts/MySql.Data.dll
Normal file
Binary file not shown.
BIN
prebuilts/MySql.Web.dll
Normal file
BIN
prebuilts/MySql.Web.dll
Normal file
Binary file not shown.
BIN
prebuilts/Newtonsoft.Json.dll
Normal file
BIN
prebuilts/Newtonsoft.Json.dll
Normal file
Binary file not shown.
196
prebuilts/sqlite3.def
Normal file
196
prebuilts/sqlite3.def
Normal file
|
|
@ -0,0 +1,196 @@
|
|||
EXPORTS
|
||||
sqlite3_aggregate_context
|
||||
sqlite3_aggregate_count
|
||||
sqlite3_auto_extension
|
||||
sqlite3_backup_finish
|
||||
sqlite3_backup_init
|
||||
sqlite3_backup_pagecount
|
||||
sqlite3_backup_remaining
|
||||
sqlite3_backup_step
|
||||
sqlite3_bind_blob
|
||||
sqlite3_bind_double
|
||||
sqlite3_bind_int
|
||||
sqlite3_bind_int64
|
||||
sqlite3_bind_null
|
||||
sqlite3_bind_parameter_count
|
||||
sqlite3_bind_parameter_index
|
||||
sqlite3_bind_parameter_name
|
||||
sqlite3_bind_text
|
||||
sqlite3_bind_text16
|
||||
sqlite3_bind_value
|
||||
sqlite3_bind_zeroblob
|
||||
sqlite3_blob_bytes
|
||||
sqlite3_blob_close
|
||||
sqlite3_blob_open
|
||||
sqlite3_blob_read
|
||||
sqlite3_blob_reopen
|
||||
sqlite3_blob_write
|
||||
sqlite3_busy_handler
|
||||
sqlite3_busy_timeout
|
||||
sqlite3_changes
|
||||
sqlite3_clear_bindings
|
||||
sqlite3_close
|
||||
sqlite3_collation_needed
|
||||
sqlite3_collation_needed16
|
||||
sqlite3_column_blob
|
||||
sqlite3_column_bytes
|
||||
sqlite3_column_bytes16
|
||||
sqlite3_column_count
|
||||
sqlite3_column_database_name
|
||||
sqlite3_column_database_name16
|
||||
sqlite3_column_decltype
|
||||
sqlite3_column_decltype16
|
||||
sqlite3_column_double
|
||||
sqlite3_column_int
|
||||
sqlite3_column_int64
|
||||
sqlite3_column_name
|
||||
sqlite3_column_name16
|
||||
sqlite3_column_origin_name
|
||||
sqlite3_column_origin_name16
|
||||
sqlite3_column_table_name
|
||||
sqlite3_column_table_name16
|
||||
sqlite3_column_text
|
||||
sqlite3_column_text16
|
||||
sqlite3_column_type
|
||||
sqlite3_column_value
|
||||
sqlite3_commit_hook
|
||||
sqlite3_compileoption_get
|
||||
sqlite3_compileoption_used
|
||||
sqlite3_complete
|
||||
sqlite3_complete16
|
||||
sqlite3_config
|
||||
sqlite3_context_db_handle
|
||||
sqlite3_create_collation
|
||||
sqlite3_create_collation16
|
||||
sqlite3_create_collation_v2
|
||||
sqlite3_create_function
|
||||
sqlite3_create_function16
|
||||
sqlite3_create_function_v2
|
||||
sqlite3_create_module
|
||||
sqlite3_create_module_v2
|
||||
sqlite3_data_count
|
||||
sqlite3_db_config
|
||||
sqlite3_db_handle
|
||||
sqlite3_db_mutex
|
||||
sqlite3_db_status
|
||||
sqlite3_declare_vtab
|
||||
sqlite3_enable_load_extension
|
||||
sqlite3_enable_shared_cache
|
||||
sqlite3_errcode
|
||||
sqlite3_errmsg
|
||||
sqlite3_errmsg16
|
||||
sqlite3_exec
|
||||
sqlite3_expired
|
||||
sqlite3_extended_errcode
|
||||
sqlite3_extended_result_codes
|
||||
sqlite3_file_control
|
||||
sqlite3_finalize
|
||||
sqlite3_free
|
||||
sqlite3_free_table
|
||||
sqlite3_get_autocommit
|
||||
sqlite3_get_auxdata
|
||||
sqlite3_get_table
|
||||
sqlite3_global_recover
|
||||
sqlite3_initialize
|
||||
sqlite3_interrupt
|
||||
sqlite3_last_insert_rowid
|
||||
sqlite3_libversion
|
||||
sqlite3_libversion_number
|
||||
sqlite3_limit
|
||||
sqlite3_load_extension
|
||||
sqlite3_log
|
||||
sqlite3_malloc
|
||||
sqlite3_memory_alarm
|
||||
sqlite3_memory_highwater
|
||||
sqlite3_memory_used
|
||||
sqlite3_mprintf
|
||||
sqlite3_mutex_alloc
|
||||
sqlite3_mutex_enter
|
||||
sqlite3_mutex_free
|
||||
sqlite3_mutex_leave
|
||||
sqlite3_mutex_try
|
||||
sqlite3_next_stmt
|
||||
sqlite3_open
|
||||
sqlite3_open16
|
||||
sqlite3_open_v2
|
||||
sqlite3_os_end
|
||||
sqlite3_os_init
|
||||
sqlite3_overload_function
|
||||
sqlite3_prepare
|
||||
sqlite3_prepare16
|
||||
sqlite3_prepare16_v2
|
||||
sqlite3_prepare_v2
|
||||
sqlite3_profile
|
||||
sqlite3_progress_handler
|
||||
sqlite3_randomness
|
||||
sqlite3_realloc
|
||||
sqlite3_release_memory
|
||||
sqlite3_reset
|
||||
sqlite3_reset_auto_extension
|
||||
sqlite3_result_blob
|
||||
sqlite3_result_double
|
||||
sqlite3_result_error
|
||||
sqlite3_result_error16
|
||||
sqlite3_result_error_code
|
||||
sqlite3_result_error_nomem
|
||||
sqlite3_result_error_toobig
|
||||
sqlite3_result_int
|
||||
sqlite3_result_int64
|
||||
sqlite3_result_null
|
||||
sqlite3_result_text
|
||||
sqlite3_result_text16
|
||||
sqlite3_result_text16be
|
||||
sqlite3_result_text16le
|
||||
sqlite3_result_value
|
||||
sqlite3_result_zeroblob
|
||||
sqlite3_rollback_hook
|
||||
sqlite3_rtree_geometry_callback
|
||||
sqlite3_set_authorizer
|
||||
sqlite3_set_auxdata
|
||||
sqlite3_shutdown
|
||||
sqlite3_sleep
|
||||
sqlite3_snprintf
|
||||
sqlite3_soft_heap_limit
|
||||
sqlite3_soft_heap_limit64
|
||||
sqlite3_sourceid
|
||||
sqlite3_sql
|
||||
sqlite3_status
|
||||
sqlite3_step
|
||||
sqlite3_stmt_readonly
|
||||
sqlite3_stmt_status
|
||||
sqlite3_strnicmp
|
||||
sqlite3_table_column_metadata
|
||||
sqlite3_test_control
|
||||
sqlite3_thread_cleanup
|
||||
sqlite3_threadsafe
|
||||
sqlite3_total_changes
|
||||
sqlite3_trace
|
||||
sqlite3_transfer_bindings
|
||||
sqlite3_update_hook
|
||||
sqlite3_uri_parameter
|
||||
sqlite3_user_data
|
||||
sqlite3_value_blob
|
||||
sqlite3_value_bytes
|
||||
sqlite3_value_bytes16
|
||||
sqlite3_value_double
|
||||
sqlite3_value_int
|
||||
sqlite3_value_int64
|
||||
sqlite3_value_numeric_type
|
||||
sqlite3_value_text
|
||||
sqlite3_value_text16
|
||||
sqlite3_value_text16be
|
||||
sqlite3_value_text16le
|
||||
sqlite3_value_type
|
||||
sqlite3_vfs_find
|
||||
sqlite3_vfs_register
|
||||
sqlite3_vfs_unregister
|
||||
sqlite3_vmprintf
|
||||
sqlite3_vsnprintf
|
||||
sqlite3_vtab_config
|
||||
sqlite3_vtab_on_conflict
|
||||
sqlite3_wal_autocheckpoint
|
||||
sqlite3_wal_checkpoint
|
||||
sqlite3_wal_checkpoint_v2
|
||||
sqlite3_wal_hook
|
||||
sqlite3_win32_mbcs_to_utf8
|
||||
sqlite3_win32_utf8_to_mbcs
|
||||
BIN
prebuilts/sqlite3.dll
Normal file
BIN
prebuilts/sqlite3.dll
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue