1 2 3 4 5 6 7 8
// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 fn main() { // Test for ripemd160, output_length < 256 let ripemd = aptos_crypto::hkdf::Hkdf::<ripemd160::Ripemd160>::extract(None, &[]); assert!(ripemd.is_ok()); }