1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef crypto_hash_sha2_h
6 #define crypto_hash_sha2_h
12 // 32 bytes will be written to `output` so it must point at a buffer
14 void crypto_hash_sha256(const uint8_t* input
, size_t length
, uint8_t* output
);
17 #endif // crypto_hash_sha2_h