Module engine

Source

Structs§

DataLink
RecordCharacteristics
RecordData
RecordDataReadOnly

Enums§

DataType
This is enum helps categorise the type of data that is being stored. It will be used to convert the data back to its orignal type (this will be fully implimented in the next release).
MyOutput

Traits§

Base

Functions§

chksum
This function produces a basic chksum for a Vector of u8 bytes. It is not for security purposes but rather data validation only.
data_type
This function converts the DataType enum to a numeric u8 value suitable for storage in the database.
load_hash_database
This loads a file that was saved using the “save_database” function which can then be used with the appropriate methods.
load_hash_database_read_only
This loads a file that was saved using the “save_database” as read only (only read functions such as searching etc are permitted) function which can then be used with the appropriate methods.
new_empty_database
This function creates a new empty database which is writable and readable.
obfuscate_data
This function returns a String which is obfuscated. It is not encrypted, its main role is for the data to miss being indexed or found in a file search. In 3.0 release this will be fully implimented in the struct as this will be a breaking change.
save_hash_database
Saves a database to a file. If the OBFUSCATE const is set to true, the data is “obfuscated” (meaning the data is not encrypted but rather just slightly hidden).