|
PACS System 0.1.0
PACS DICOM system library
|
Functions | |
| std::string | base64_encode (const std::uint8_t *data, std::size_t size) |
| Standard base64 encode (no line breaks) | |
| bool | base64_decode (const std::string &in, std::vector< std::uint8_t > &out) |
| Standard base64 decode; returns false on malformed input. | |
| bool | hex_decode (const std::string &in, std::uint8_t *out, std::size_t out_size) |
| Hex decode (lowercase or uppercase); returns false on malformed input. | |
| bool | constant_time_equal (const std::uint8_t *a, const std::uint8_t *b, std::size_t n) noexcept |
| Constant-time equality on byte buffers of equal length. | |
|
nodiscard |
Standard base64 decode; returns false on malformed input.
Definition at line 89 of file audit_log_cipher.cpp.
References out.
Referenced by kcenon::pacs::security::audit_key_manager::decode_key().

|
nodiscard |
Standard base64 encode (no line breaks)
Definition at line 56 of file audit_log_cipher.cpp.
References out.
|
nodiscardnoexcept |
Constant-time equality on byte buffers of equal length.
Definition at line 145 of file audit_log_cipher.cpp.
|
nodiscard |
Hex decode (lowercase or uppercase); returns false on malformed input.
Definition at line 132 of file audit_log_cipher.cpp.
References out.
Referenced by kcenon::pacs::security::audit_key_manager::decode_key().
