
#include "Image/Hash.H"#include "Image/Image.H"#include "Image/Pixels.H"#include "Util/md5.H"#include "Util/sha1.H"#include "Util/sha2.H"#include "rutz/compat_snprintf.h"#include "rutz/trace.h"#include <cctype>
Go to the source code of this file.
Functions | |
| std::string | digestFormatHelper (const byte *buf, unsigned int n) |
| Helper function for Digest::format(). | |
| void | digestScanHelper (const std::string &s, byte *buf, unsigned int n) |
| Helper function for Digest::fromString(). | |
| Digest< 16 > | md5byte (const Image< byte > *img, const void *extra, size_t nextra) |
| Compute the 128-bit md5 digest of a byte image. | |
| Digest< 16 > | md5float (const Image< float > *img, const void *extra, size_t nextra) |
| Compute the 128-bit md5 digest of a float image. | |
| Digest< 16 > | md5rgb (const Image< PixRGB< byte > > *img, const void *extra, size_t nextra) |
| Compute the 128-bit md5 digest of an rgb image. | |
| Digest< 20 > | sha1byte (const Image< byte > *img, const void *extra, size_t nextra) |
| Compute the 160-bit sha1 digest of a byte image. | |
| Digest< 20 > | sha1float (const Image< float > *img, const void *extra, size_t nextra) |
| Compute the 160-bit sha1 digest of a float image. | |
| Digest< 20 > | sha1rgb (const Image< PixRGB< byte > > *img, const void *extra, size_t nextra) |
| Compute the 160-bit sha1 digest of an rgb image. | |
| Digest< 32 > | sha256byte (const Image< byte > *img, const void *extra, size_t nextra) |
| Compute the 256-bit sha2 digest of a byte image. | |
| Digest< 32 > | sha256float (const Image< float > *img, const void *extra, size_t nextra) |
| Compute the 256-bit sha2 digest of a float image. | |
| Digest< 32 > | sha256rgb (const Image< PixRGB< byte > > *img, const void *extra, size_t nextra) |
| Compute the 256-bit sha2 digest of an rgb image. | |
hash/message-digest functions for Image objects
Definition in file Hash.C.
| std::string digestFormatHelper | ( | const byte * | buf, | |
| unsigned int | n | |||
| ) |
Helper function for Digest::format().
Definition at line 104 of file Hash.C.
Referenced by Digest< 16 >::asString().
| void digestScanHelper | ( | const std::string & | s, | |
| byte * | buf, | |||
| unsigned int | n | |||
| ) |
Helper function for Digest::fromString().
Definition at line 117 of file Hash.C.
Referenced by Digest< 16 >::fromString().
1.6.3