import HKDFKeys from '../types/HKDFKeys'; /** * Derives two keys from a given input key via * [HKDF](https://en.wikipedia.org/wiki/HKDF). * * Specifically, we use this to derive keys from a user's hashed password and * never use the hashed password directly. Thus, if one derived key is * compromised, other keys are not affected. * * See the `HKDFKeys` interface for information on how Nash uses these keys. */ export default function getHKDFKeysFromPassword(password: string, salt: string): Promise;