![]() ![]() There is no point in computing the checksum from your own computer, attempting to write data, because in this case, the whole data will be read back over the network again. It has been implemented in old BSD and is also available through the sum command line utility. The data written to the database will be available to the hash function on the remote computer locally (on the same machine) and checksum will be computed faster. Property Value dbo:abstract The BSD checksum algorithm was a commonly used, legacy checksum algorithm. You can accomplish this by wrapping your hash function in an ActiveX component and intantiating it remotely on the target computer. #BSD CHECKSUM CALCULATOR CODE#Whichever method you use, you should write your code in such a way that checksum of data written to database is computed by the computer hosting the database. I don't know which library is required for creating CAPICOM.HashedData object. A good checksum algorithm will yield a different result with high probability when the data is accidentally corrupted if the checksums match, the data has the. #BSD CHECKSUM CALCULATOR PRO#Unfortunately, on my computer, running Win7 Pro 64-bit SP1, it throws error 429, "ActiveX component can't create object". We are not using it for encryption, when the knowledge of actual algorithm and proof of its reliability is of acute importance.Īt least, it is better and faster than adding or XORing byte values together in a loop.Īs far as simplicity is concerned, strongm's MD5HashDigest function also looks a treat. I proposed the HashData solution because of the "very, very, very simplest algorithm" requirement.Īlthough the algorithm is not documented (at least I am not aware of it), I don't mind using it for computing a simple one-way checksum for data integrity check. #BSD CHECKSUM CALCULATOR MOD#'CRC_Calc = Chr(CRC_value Mod 256)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |