to provide a built-in consistent and optimized API to service basic cryptographic hashing and symmetric-key functions. What it is... Adds a flexible cryptographic API that performs one-way hashing and two-way encryption with the existing Haiku API objects developers love (BString, BFile, raw data, etc) … what it is NOT The crypto kit is NOT designed to replace advanced industry standard hybrid cryptosystems like SSL and OpenGPG
◉ User calls AddData(...) functions that accept a wide variety of input types. ◉ User calls Result(BString*) producing a BString hash result of the combined data which was input. ◉ User can call Flush() to clear the data provided thus far to BCryptoHash or deconstruct + construct.
◉ B_HASH_SHA256 ◉ B_HASH_SHA512 * Do we want to support legacy algorithms to provide “as many as possible” or do we want to limit algorithms based on best practices? We need to balance providing legacy algorithms while limiting API churn.