X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcrypto.h;h=41a93010d795e1a5c1798a542d3247becb481ffe;hb=b0fc1ec3b159b7a7fa917f2e338485921800374e;hp=ee0ff9b558d6026e816ff81aac0d6cc0de7d86a1;hpb=6fa9748f382302fa88292b4219598bb81edc7bd0;p=dcpomatic.git diff --git a/src/lib/crypto.h b/src/lib/crypto.h index ee0ff9b55..41a93010d 100644 --- a/src/lib/crypto.h +++ b/src/lib/crypto.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2018 Carl Hetherington + Copyright (C) 2018-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,14 +18,18 @@ */ + #include + namespace dcpomatic { + dcp::ArrayData random_iv (); dcp::ArrayData encrypt (std::string plaintext, dcp::ArrayData key, dcp::ArrayData iv); std::string decrypt (dcp::ArrayData ciphertext, dcp::ArrayData key, dcp::ArrayData iv); int crypto_key_length (); + }