ocean.util.cipher.gcrypt.MessageDigest

Wrapper to libgcrypt message digest and HMAC utility classes.

Be aware that not all versions of libcgrypt support all hash algorithms; the constructor will throw if the specified algorithm is not supported by the run-time version of libgcrypt. However, if the constructor does not throw, it is safe to assume it will never throw for the same set of parameters (except for the fatal situation that libgcrypt failed allocating memory).

Requires linking with libgcrypt: -L-lgcrypt

Members

Classes

MessageDigest
class MessageDigest

Message digest/hash generator.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).

Bear in mind this module provides bindings to an external library that has its own license, which might be more restrictive. Please check the external library license to see which conditions apply for linking.